Public Member Functions | |
| PointF (float x, float y) | |
| Constructs a PointF object. | |
| PointF (PointF pt) | |
| Constructs a PointF object. | |
| PointF (SizeF size) | |
| Constructs a PointF object. | |
| override string | ToString () |
| Creates a string representing this object. | |
| override int | GetHashCode () |
| Gets a hash code. | |
| override bool | Equals (object obj) |
| Equality test. | |
| bool | Equals (PointF obj) |
| Equality test. | |
Static Public Member Functions | |
| static bool | operator== (PointF a, PointF b) |
| Equality comparison test. | |
| static bool | operator!= (PointF a, PointF b) |
| Inequality comparison test. | |
| static | operator Point (PointF a) |
| Explicitly converts a point to a pointf structure. | |
| static PointF | Add (PointF pt, SizeF size) |
| Adds the specified SizeF structure to the specified PointF structure and returns the result as a new PointF structure. | |
Public Attributes | |
| float | x |
| float | y |
Static Public Attributes | |
| static readonly PointF | Empty = new PointF(0, 0) |
| Empty PointF. | |
Properties | |
| float | X [get, set] |
| Gets or sets the X value. | |
| float | Y [get, set] |
| Gets or sets the Y value. | |
| bool | IsEmpty [get] |
| Returns true if X and Y are zero. | |
| AgateLib.Geometry.PointF.PointF | ( | float | x, | |
| float | y | |||
| ) |
| bool AgateLib.Geometry.PointF.Equals | ( | PointF | obj | ) |
Equality test.
| obj |
| override bool AgateLib.Geometry.PointF.Equals | ( | object | obj | ) |
Equality test.
| obj |
| override int AgateLib.Geometry.PointF.GetHashCode | ( | ) |
Gets a hash code.
Explicitly converts a point to a pointf structure.
| a |
Inequality comparison test.
| a | ||
| b |
Equality comparison test.
| a | ||
| b |
| override string AgateLib.Geometry.PointF.ToString | ( | ) |
Creates a string representing this object.
readonly PointF AgateLib.Geometry.PointF.Empty = new PointF(0, 0) [static] |
Empty PointF.
bool AgateLib.Geometry.PointF.IsEmpty [get] |
Returns true if X and Y are zero.
float AgateLib.Geometry.PointF.X [get, set] |
Gets or sets the X value.
float AgateLib.Geometry.PointF.Y [get, set] |
Gets or sets the Y value.
|
AgateLib Awesome Game and Tool Engine Library |
|