Rectangle
Gambaran Umum
Rectangle adalah sebuah kelas dalam Aspose.PDF FOSS untuk C++.
Kelas ini menyediakan 28 metode untuk bekerja dengan objek Rectangle dalam program C++. Metode yang tersedia meliputi: Center, Contains, ContainsLine, ContainsPoint, Empty, Equals, Height, Intersect, IsEmpty, IsIntersect, IsPoint, IsTrivial, dan 11 metode tambahan. Semua anggota publik dapat diakses oleh aplikasi C++ mana pun setelah menginstal paket Aspose.PDF FOSS untuk C++.
Metode
| Tanda Tangan | Deskripsi |
|---|---|
Equals(other: Rectangle) → bool | Memanggil Equals(other) pada instance Rectangle ini. |
NearEquals(other: Rectangle, delta: double) → bool | Memanggil NearEquals(other, delta) pada instance Rectangle ini. |
Intersect(otherRect: Rectangle) → Rectangle | Memanggil Intersect(otherRect) pada instance Rectangle ini. |
Join(otherRect: Rectangle) → Rectangle | Memanggil Join(otherRect) pada instance Rectangle ini. |
IsIntersect(otherRect: Rectangle) → bool | Memanggil IsIntersect(otherRect) pada instance Rectangle ini. |
Contains(point: Point, inclusive: bool) → bool | Memanggil Contains(point, inclusive) pada instance Rectangle ini. |
ContainsPoint(x: double, y: double) → bool | Memanggil ContainsPoint(x, y) pada instance Rectangle ini. |
ContainsLine(x1: double, y1: double, x2: double, y2: double) → bool | Memanggil ContainsLine(x1, y1, x2, y2) pada instance Rectangle ini. |
Center() → Point | Memanggil Center pada instance Rectangle ini. |
Rotate(angle: Rotation) | Memanggil Rotate(angle) pada instance Rectangle ini. |
Rotate(angle: int) | Memanggil Rotate(angle) pada instance Rectangle ini. |
ToPoints() → std::vector<Point> | Memanggil ToPoints pada instance Rectangle ini. |
MoveBy(dx: double, dy: double) | Memanggil MoveBy(dx, dy) pada instance Rectangle ini. |
Width() → double | Memanggil Width pada instance Rectangle ini. |
Height() → double | Memanggil Height pada instance Rectangle ini. |
LLX() → double | Memanggil LLX pada instance Rectangle ini. |
LLX(value: double) | Memanggil LLX(value) pada instance Rectangle ini. |
LLY() → double | Memanggil LLY pada instance Rectangle ini. |
LLY(value: double) | Memanggil LLY(value) pada instance Rectangle ini. |
URX() → double | Memanggil URX pada instance Rectangle ini. |
URX(value: double) | Memanggil URX(value) pada instance Rectangle ini. |
URY() → double | Memanggil URY pada instance Rectangle ini. |
URY(value: double) | Memanggil URY(value) pada instance Rectangle ini. |
Empty() → Rectangle | Memanggil Empty pada instance Rectangle ini. |
Trivial() → Rectangle | Memanggil Trivial pada instance Rectangle ini. |
IsTrivial() → bool | Mengembalikan true jika trivial diatur. |
IsEmpty() → bool | Mengembalikan true jika empty diatur. |
IsPoint() → bool | Mengembalikan true jika point diatur. |