Rectangle
Áttekintés
Rectangle egy osztály a Aspose.PDF FOSS for C++-ban.
Ez az osztály 28 metódust biztosít a Rectangle objektumokkal való munka C++ programokban. Elérhető metódusok: Center, Contains, ContainsLine, ContainsPoint, Empty, Equals, Height, Intersect, IsEmpty, IsIntersect, IsPoint, IsTrivial, és további 11 metódus. Minden nyilvános tag elérhető bármely C++ alkalmazás számára a Aspose.PDF FOSS for C++ csomag telepítése után.
Metódusok
| Aláírás | Leírás |
|---|---|
Equals(other: Rectangle) → bool | Meghívja az Equals(other) metódust ezen a Rectangle példányon. |
NearEquals(other: Rectangle, delta: double) → bool | Meghívja a(z) NearEquals(other, delta) metódust ezen a Rectangle példányon. |
Intersect(otherRect: Rectangle) → Rectangle | Meghívja az Intersect(otherRect) metódust ezen a Rectangle példányon. |
Join(otherRect: Rectangle) → Rectangle | Meghívja a Join(otherRect) metódust ezen a Rectangle példányon. |
IsIntersect(otherRect: Rectangle) → bool | Meghívja a IsIntersect(otherRect) metódust ezen a Rectangle példányon. |
Contains(point: Point, inclusive: bool) → bool | Meghívja a Contains(point, inclusive) metódust ezen a Rectangle példányon. |
ContainsPoint(x: double, y: double) → bool | Meghívja a ContainsPoint(x, y) metódust ezen a Rectangle példányon. |
ContainsLine(x1: double, y1: double, x2: double, y2: double) → bool | Meghívja a ContainsLine(x1, y1, x2, y2) metódust ezen a Rectangle példányon. |
Center() → Point | Meghívja a Center metódust ezen a Rectangle példányon. |
Rotate(angle: Rotation) | Meghívja a Rotate(angle) metódust ezen a Rectangle példányon. |
Rotate(angle: int) | Meghívja a Rotate(angle) metódust ezen a Rectangle példányon. |
ToPoints() → std::vector<Point> | Meghívja a(z) ToPoints metódust ezen a Rectangle példányon. |
MoveBy(dx: double, dy: double) | Meghívja a(z) MoveBy(dx, dy) metódust ezen a Rectangle példányon. |
Width() → double | Meghívja a Width metódust ezen a Rectangle példányon. |
Height() → double | Meghívja a Height metódust ezen a Rectangle példányon. |
LLX() → double | Meghívja a LLX metódust ezen a Rectangle példányon. |
LLX(value: double) | Meghívja a LLX(value) metódust ezen a Rectangle példányon. |
LLY() → double | Meghívja az LLY metódust ezen a Rectangle példányon. |
LLY(value: double) | Meghívja a LLY(value) metódust ezen a Rectangle példányon. |
URX() → double | Meghívja az URX metódust ezen a Rectangle példányon. |
URX(value: double) | Meghívja az URX(value) metódust ezen a Rectangle példányon. |
URY() → double | Meghívja az URY metódust ezen a Rectangle példányon. |
URY(value: double) | Meghívja az URY(value) metódust ezen a Rectangle példányon. |
Empty() → Rectangle | Meghívja az Empty metódust ezen a Rectangle példányon. |
Trivial() → Rectangle | Meghívja a Trivial-t ezen a Rectangle példányon. |
IsTrivial() → bool | Igazat ad vissza, ha a trivial be van állítva. |
IsEmpty() → bool | Igazat ad vissza, ha az empty be van állítva. |
IsPoint() → bool | Igazat ad vissza, ha a point be van állítva. |