Rectangle

Rectangle

概要

Rectangle は Aspose.PDF の C++ 用 FOSS に含まれるクラスです。

このクラスは、C++ プログラムで Rectangle オブジェクトを操作するための 28 のメソッドを提供します。利用可能なメソッドには、Center、Contains、ContainsLine、ContainsPoint、Empty、Equals、Height、Intersect、IsEmpty、IsIntersect、IsPoint、IsTrivial、およびその他 11 のメソッドが含まれます。Aspose.PDF の C++ 用 FOSS パッケージをインストールすれば、すべてのパブリックメンバーは任意の C++ アプリケーションから利用可能です。

メソッド

シグネチャ説明
Equals(other: Rectangle) → boolこの Rectangle インスタンスで Equals(other) を呼び出します。
NearEquals(other: Rectangle, delta: double) → boolこの Rectangle インスタンスで NearEquals(other, delta) を呼び出します。
Intersect(otherRect: Rectangle) → Rectangleこの Rectangle インスタンスで Intersect(otherRect) を呼び出します。
Join(otherRect: Rectangle) → Rectangleこの Rectangle インスタンスで Join(otherRect) を呼び出します。
IsIntersect(otherRect: Rectangle) → boolこの Rectangle インスタンスで IsIntersect(otherRect) を呼び出します。
Contains(point: Point, inclusive: bool) → boolこの Rectangle インスタンスで Contains(point, inclusive) を呼び出します。
ContainsPoint(x: double, y: double) → boolこの Rectangle インスタンスで ContainsPoint(x, y) を呼び出します。
ContainsLine(x1: double, y1: double, x2: double, y2: double) → boolこの Rectangle インスタンスで ContainsLine(x1, y1, x2, y2) を呼び出します。
Center() → Pointこの Rectangle インスタンスで Center を呼び出します。
Rotate(angle: Rotation)この Rectangle インスタンスで Rotate(angle) を呼び出します。
Rotate(angle: int)この Rectangle インスタンスで Rotate(angle) を呼び出します。
ToPoints() → std::vector<Point>この Rectangle インスタンスで ToPoints を呼び出します。
MoveBy(dx: double, dy: double)この Rectangle インスタンスで MoveBy(dx, dy) を呼び出します。
Width() → doubleこの Rectangle インスタンスで Width を呼び出します。
Height() → doubleこの Rectangle インスタンスで Height を呼び出します。
LLX() → doubleこの Rectangle インスタンスで LLX を呼び出します。
LLX(value: double)この Rectangle インスタンスで LLX(value) を呼び出します。
LLY() → doubleこの Rectangle インスタンスで LLY を呼び出します。
LLY(value: double)この Rectangle インスタンスで LLY(value) を呼び出します。
URX() → doubleこの Rectangle インスタンスで URX を呼び出します。
URX(value: double)この Rectangle インスタンスで URX(value) を呼び出します。
URY() → doubleこの Rectangle インスタンスで URY を呼び出します。
URY(value: double)この Rectangle インスタンスで URY(value) を呼び出します。
Empty() → Rectangleこの Rectangle インスタンスで Empty を呼び出します。
Trivial() → Rectangleこの Rectangle インスタンスで Trivial を呼び出します。
IsTrivial() → booltrivial が設定されている場合は true を返します。
IsEmpty() → boolempty が設定されている場合は true を返します。
IsPoint() → boolpoint が設定されている場合は true を返します。

参照

 日本語