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.

انظر أيضاً

 العربية