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 แล้ว. |