Point |
[SerializableAttribute] public struct Point2DInt
The Point2DInt type exposes the following members.
| Name | Description | |
|---|---|---|
| Dimensions | ||
| Item | Gets or sets the coordinate of the axis specified by index. | |
| Magnitude | Returns the distance between this point and the zero point. | |
| X | The X-coordinate. | |
| Y | The Y-coordinate. |
| Name | Description | |
|---|---|---|
| Equals(Object) |
Specifies whether this point contains the same coordinates as the specified object.
(Overrides ValueTypeEquals(Object)) | |
| Equals(Point2DInt) | Specifies whether this point contains the same coordinates as the specified point. | |
| FromString | ||
| GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode) | |
| ToAxisString | Returns a label of the specified axis. | |
| ToString | Returns the fully qualified type name of this instance. (Overrides ValueTypeToString) |
| Name | Description | |
|---|---|---|
| Addition(Int32, Point2DInt) | Adds a scalar to all the coordinates of a point, and returns a new point. | |
| Addition(Point2DInt, Point2DInt) | Adds the coordinates of two points, and returns the result as a new point. | |
| Addition(Point2DInt, Int32) | Adds a scalar to all the coordinates of a point, and returns the result as a new point. | |
| Decrement(Point2DInt) | ||
| Equality(Point2DInt, Point2DInt) | Compares two points with each other, and returns true if all coordinates are equal. | |
| Increment(Point2DInt) | ||
| Inequality(Point2DInt, Point2DInt) | Compares two points with each other, and returns true if at least one pair of coordinates are different. | |
| Multiply(Double, Point2DInt) | Multiplies all the coordinates of a point with a scalar, and returns the result as a new point. | |
| Multiply(Int32, Point2DInt) | Multiplies all the coordinates of a point with a scalar, and returns the result as a new point. | |
| Multiply(Point2DInt, Double) | Multiplies all the coordinates of a point with a scalar, and returns the result as a new point. | |
| Multiply(Point2DInt, Int32) | Multiplies all the coordinates of a point with a scalar, and returns the result as a new point. | |
| Subtraction(Int32, Point2DInt) | Subtracts all the coordinates of a point from a scalar, and returns the result as a new point. | |
| Subtraction(Point2DInt, Point2DInt) | Subtracts the coordinates of two points, and returns the result as a new point. | |
| Subtraction(Point2DInt, Int32) | Subtracts a scalar from all the coordinates of a point, and returns the result as a new point. |