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 מוגדר.

ראה גם

 עברית