|
iText 9.3.0 API
|
Class that represent point object with x and y coordinates. More...
Public Member Functions |
|
| Point () | |
| Instantiates a new Point instance with 0 x and y. More... |
|
| Point (double x, double y) | |
| Instantiates a new Point instance based on passed x and y. More... |
|
| Point (iText.Kernel.Geom.Point other) | |
| Instantiates a new Point instance based on other Point instance. More... |
|
| virtual double | GetX () |
| Gets x coordinate of the point. More... |
|
| virtual double | GetY () |
| Gets y coordinate of the point. More... |
|
| virtual iText.Kernel.Geom.Point | GetLocation () |
| Gets location of point by creating a new copy. More... |
|
| virtual void | SetLocation (double x, double y) |
| Sets x and y double coordinates of the point. More... |
|
| virtual void | Move (double dx, double dy) |
| Moves the point by the specified offset. More... |
|
| virtual double | Distance (double px, double py) |
| The distance between this point and the second point which is defined by passed x and y coordinates. More... |
|
| virtual double | Distance (iText.Kernel.Geom.Point p) |
| The distance between this point and the second point. More... |
|
| override bool | Equals (Object obj) |
| override String | ToString () |
| override int | GetHashCode () |
| virtual Object | Clone () |
Class that represent point object with x and y coordinates.
|
inline |
Instantiates a new Point instance with 0 x and y.
|
inline |
Instantiates a new Point instance based on passed x and y.
| x | the x coordinates of the point |
| y | the y coordinates of the point |
|
inline |
|
inlinevirtual |
The distance between this point and the second point which is defined by passed x and y coordinates.
| px | the x coordinate of the second point |
| py | the y coordinate of the second point |
|
inlinevirtual |
The distance between this point and the second point.
| p | the second point to calculate distance |
|
inlinevirtual |
Gets location of point by creating a new copy.
|
inlinevirtual |
Gets x coordinate of the point.
|
inlinevirtual |
Gets y coordinate of the point.
|
inlinevirtual |
Moves the point by the specified offset.
| dx | the x-axis offset |
| dy | the y-axis offset |
|
inlinevirtual |
Sets x and y double coordinates of the point.
| x | the x coordinate |
| y | the y coordinate |