from_points method
from_points
Creates a new Rectangle from two points specified. Two verticles of the created Rectangle will be equal to the passed point1 and point2. These would be typically the opposite vertices.
Returns
A newly created Rectangle.
def from_points(self, point1, point2):
...
| Parameter | Type | Description |
|---|---|---|
| point1 | PointF | The first Point for the new rectangle. |
| point2 | PointF | The second Point for the new rectangle. |
See Also
- module
aspose.cad - class
Point - class
Rectangle - class
RectangleF