PointF class
PointF class
Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimensional plane.
The PointF type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the PointF structure with the specified coordinates. |
| init | Constructs a new instance of PointF |
Properties
| Property | Description |
|---|---|
| empty | Gets a new instance of the PointF structure that has PointF.x and PointF.y values set to zero. |
| is_empty | Gets a value indicating whether this PointF is empty. |
| x | Gets or sets the x-coordinate of this PointF. |
| y | Gets or sets the y-coordinate of this PointF. |
Methods
| Method | Description |
|---|---|
| add | Translates a given PointF by the specified Size. |
| add | Translates a given PointF by a specified SizeF. |
| subtract | Translates a PointF by the negative of a specified size. |
| subtract | Translates a PointF by the negative of a specified size. |
See Also
- module
aspose.cad - class
PointF - class
Size - class
SizeF