Rectangle
Overview
Rectangle is a class in Aspose.PDF FOSS for C++.
This class provides 28 methods for working with Rectangle objects in C++ programs.
Available methods include: Center, Contains, ContainsLine, ContainsPoint, Empty, Equals, Height, Intersect, IsEmpty, IsIntersect, IsPoint, IsTrivial, and 11 additional methods.
All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.
Methods
| Signature | Description |
|---|---|
Equals(other: Rectangle) → bool | Calls Equals(other) on this Rectangle instance. |
NearEquals(other: Rectangle, delta: double) → bool | Calls NearEquals(other, delta) on this Rectangle instance. |
Intersect(otherRect: Rectangle) → Rectangle | Calls Intersect(otherRect) on this Rectangle instance. |
Join(otherRect: Rectangle) → Rectangle | Calls Join(otherRect) on this Rectangle instance. |
IsIntersect(otherRect: Rectangle) → bool | Calls IsIntersect(otherRect) on this Rectangle instance. |
Contains(point: Point, inclusive: bool) → bool | Calls Contains(point, inclusive) on this Rectangle instance. |
ContainsPoint(x: double, y: double) → bool | Calls ContainsPoint(x, y) on this Rectangle instance. |
ContainsLine(x1: double, y1: double, x2: double, y2: double) → bool | Calls ContainsLine(x1, y1, x2, y2) on this Rectangle instance. |
Center() → Point | Calls Center on this Rectangle instance. |
Rotate(angle: Rotation) | Calls Rotate(angle) on this Rectangle instance. |
Rotate(angle: int) | Calls Rotate(angle) on this Rectangle instance. |
ToPoints() → std::vector<Point> | Calls ToPoints on this Rectangle instance. |
MoveBy(dx: double, dy: double) | Calls MoveBy(dx, dy) on this Rectangle instance. |
Width() → double | Calls Width on this Rectangle instance. |
Height() → double | Calls Height on this Rectangle instance. |
LLX() → double | Calls LLX on this Rectangle instance. |
LLX(value: double) | Calls LLX(value) on this Rectangle instance. |
LLY() → double | Calls LLY on this Rectangle instance. |
LLY(value: double) | Calls LLY(value) on this Rectangle instance. |
URX() → double | Calls URX on this Rectangle instance. |
URX(value: double) | Calls URX(value) on this Rectangle instance. |
URY() → double | Calls URY on this Rectangle instance. |
URY(value: double) | Calls URY(value) on this Rectangle instance. |
Empty() → Rectangle | Calls Empty on this Rectangle instance. |
Trivial() → Rectangle | Calls Trivial on this Rectangle instance. |
IsTrivial() → bool | Returns true if trivial is set. |
IsEmpty() → bool | Returns true if empty is set. |
IsPoint() → bool | Returns true if point is set. |