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