Rectangle
Przegląd
Rectangle jest klasą w Aspose.PDF FOSS dla C++.
Ta klasa udostępnia 28 metod do pracy z obiektami Rectangle w programach C++. Dostępne metody to: Center, Contains, ContainsLine, ContainsPoint, Empty, Equals, Height, Intersect, IsEmpty, IsIntersect, IsPoint, IsTrivial oraz 11 dodatkowych metod. Wszystkie publiczne elementy są dostępne dla dowolnej aplikacji C++ po zainstalowaniu pakietu Aspose.PDF FOSS dla C++.
Metody
| Sygnatura | Opis |
|---|---|
Equals(other: Rectangle) → bool | Wywołuje Equals(other) na tej instancji Rectangle. |
NearEquals(other: Rectangle, delta: double) → bool | Wywołuje NearEquals(other, delta) na tej instancji Rectangle. |
Intersect(otherRect: Rectangle) → Rectangle | Wywołuje Intersect(otherRect) na tej instancji Rectangle. |
Join(otherRect: Rectangle) → Rectangle | Wywołuje Join(otherRect) na tej instancji Rectangle. |
IsIntersect(otherRect: Rectangle) → bool | Wywołuje IsIntersect(otherRect) na tej instancji Rectangle. |
Contains(point: Point, inclusive: bool) → bool | Wywołuje Contains(point, inclusive) na tej instancji Rectangle. |
ContainsPoint(x: double, y: double) → bool | Wywołuje ContainsPoint(x, y) na tej instancji Rectangle. |
ContainsLine(x1: double, y1: double, x2: double, y2: double) → bool | Wywołuje ContainsLine(x1, y1, x2, y2) na tej instancji Rectangle. |
Center() → Point | Wywołuje metodę Center na tej instancji Rectangle. |
Rotate(angle: Rotation) | Wywołuje Rotate(angle) na tej instancji Rectangle. |
Rotate(angle: int) | Wywołuje Rotate(angle) na tej instancji Rectangle. |
ToPoints() → std::vector<Point> | Wywołuje ToPoints na tej instancji Rectangle. |
MoveBy(dx: double, dy: double) | Wywołuje MoveBy(dx, dy) na tej instancji Rectangle. |
Width() → double | Wywołuje Width na tej instancji Rectangle. |
Height() → double | Wywołuje Height na tej instancji Rectangle. |
LLX() → double | Wywołuje LLX na tej instancji Rectangle. |
LLX(value: double) | Wywołuje LLX(value) na tej instancji Rectangle. |
LLY() → double | Wywołuje LLY na tej instancji Rectangle. |
LLY(value: double) | Wywołuje LLY(value) na tej instancji Rectangle. |
URX() → double | Wywołuje URX na tej instancji Rectangle. |
URX(value: double) | Wywołuje URX(value) na tej instancji klasy Rectangle. |
URY() → double | Wywołuje URY na tej instancji klasy Rectangle. |
URY(value: double) | Wywołuje URY(value) na tej instancji klasy Rectangle. |
Empty() → Rectangle | Wywołuje Empty na tej instancji klasy Rectangle. |
Trivial() → Rectangle | Wywołuje Trivial na tej instancji Rectangle. |
IsTrivial() → bool | Zwraca true, jeśli ustawiono trivial. |
IsEmpty() → bool | Zwraca true, jeśli ustawiono empty. |
IsPoint() → bool | Zwraca true, jeśli ustawiono point. |