Rectangle
סקירה כללית
Rectangle היא מחלקה ב Aspose.PDF FOSS עבור C++.
מחלקה זו מספקת 28 שיטות לעבודה עם עצמים מסוג Rectangle בתוכניות C++. השיטות הזמינות כוללות: Center, Contains, ContainsLine, ContainsPoint, Empty, Equals, Height, Intersect, IsEmpty, IsIntersect, IsPoint, IsTrivial, ועוד 11 שיטות נוספות. כל החברים הציבוריים נגישים לכל יישום C++ לאחר התקנת חבילת Aspose.PDF FOSS עבור C++.
שיטות
| חתימה | תיאור |
|---|---|
Equals(other: Rectangle) → bool | קורא ל-Equals(other) על מופע Rectangle זה. |
NearEquals(other: Rectangle, delta: double) → bool | קורא ל-NearEquals(other, delta) על מופע Rectangle זה. |
Intersect(otherRect: Rectangle) → Rectangle | קורא ל-Intersect(otherRect) על מופע Rectangle זה. |
Join(otherRect: Rectangle) → Rectangle | קורא ל-Join(otherRect) על מופע Rectangle זה. |
IsIntersect(otherRect: Rectangle) → bool | קורא ל-IsIntersect(otherRect) על מופע Rectangle זה. |
Contains(point: Point, inclusive: bool) → bool | קורא ל-Contains(point, inclusive) על מופע Rectangle זה. |
ContainsPoint(x: double, y: double) → bool | קורא ל-ContainsPoint(x, y) על מופע Rectangle זה. |
ContainsLine(x1: double, y1: double, x2: double, y2: double) → bool | קורא ל-ContainsLine(x1, y1, x2, y2) על מופע Rectangle זה. |
Center() → Point | קורא ל-Center על מופע ה-Rectangle הזה. |
Rotate(angle: Rotation) | קורא ל-Rotate(angle) על מופע ה-Rectangle הזה. |
Rotate(angle: int) | קורא ל-Rotate(angle) על מופע ה-Rectangle הזה. |
ToPoints() → std::vector<Point> | קורא ל-ToPoints על מופע ה-Rectangle הזה. |
MoveBy(dx: double, dy: double) | קורא ל-MoveBy(dx, dy) על מופע ה-Rectangle הזה. |
Width() → double | קורא ל-Width על מופע ה-Rectangle הזה. |
Height() → double | קורא ל-Height על מופע ה-Rectangle הזה. |
LLX() → double | קורא ל-LLX על מופע ה-Rectangle הזה. |
LLX(value: double) | קורא LLX(value) על מופע ה-Rectangle הזה. |
LLY() → double | קורא LLY על מופע ה-Rectangle הזה. |
LLY(value: double) | קורא LLY(value) על מופע ה-Rectangle הזה. |
URX() → double | קורא URX על מופע ה-Rectangle הזה. |
URX(value: double) | קורא ל-URX(value) על מופע ה-Rectangle הזה. |
URY() → double | קורא ל-URY על מופע ה-Rectangle הזה. |
URY(value: double) | קורא ל-URY(value) על מופע ה-Rectangle הזה. |
Empty() → Rectangle | קורא ל-Empty על מופע ה-Rectangle הזה. |
Trivial() → Rectangle | קורא ל-Trivial על מופע ה-Rectangle הזה. |
IsTrivial() → bool | מחזיר true אם trivial מוגדר. |
IsEmpty() → bool | מחזיר true אם empty מוגדר. |
IsPoint() → bool | מחזיר true אם point מוגדר. |