Int32Point Struct
Definition
Represents an ordered pair of x and y coordinates that define a point in a two-dimensional plane.
Implements
Syntax
[Serializable]
public struct Int32Point : IEquatable<Int32Point>
Constructors
Int32Point(Int32Size) | Initializes a new instance of the Int32Point class from a Size. |
Int32Point(Int32) | Initializes a new instance of the Point class using coordinates specified by an integer value. |
Int32Point(Int32, Int32) | Initializes a new instance of the Int32Point class with the specified coordinates. |
Fields
Empty | Creates a new instance of the Int32Point class with member data left uninitialized. |
Properties
IsEmpty | Gets a value indicating whether this Int32Point is empty. |
X | Gets the x-coordinate of this Int32Point. |
Y | Gets the y-coordinate of this Int32Point. |
Methods
Add(Int32Point, Int32Size) | Translates a Int32Point by a given Int32Size . |
Ceiling(Point) | Converts a PointF to a Point by performing a ceiling operation on all the coordinates. |
Equals(Int32Point) | Indicates whether the current object is equal to another object of the same type. |
Equals(Object) | Specifies whether this Int32Point contains the same coordinates as the specified System.Object. |
GetHashCode() | Returns a hash code. |
Offset(Int32Point) | Translates this Int32Point by the specified amount. |
Offset(Int32, Int32) | Translates this Int32Point by the specified amount. |
Round(Point) | Converts a PointF to a Point by performing a round operation on all the coordinates. |
Subtract(Int32Point, Int32Size) | Translates a Int32Point by the negative of a given Int32Size . |
ToString() | Converts this Int32Point to a human readable string. |
Truncate(Point) | Converts a PointF to a Point by performing a truncate operation on all the coordinates. |
Operators
Addition(Int32Point, Int32Size) | Translates a Int32Point by a given Int32Size . |
Equality(Int32Point, Int32Point) | Compares two Int32Point objects. The result specifies whether the values of the X and Y properties of the two Int32Point objects are equal. |
Explicit(Int32Point to Int32Size) | Creates a Int32Size with the coordinates of the specified Int32Point . |
Implicit(Int32Point to Point) | Creates a Point with the coordinates of the specified Int32Point |
Inequality(Int32Point, Int32Point) | Compares two Int32Point objects. The result specifies whether the values of the X or Y properties of the two Int32Point objects are unequal. |
Subtraction(Int32Point, Int32Size) | Translates a Int32Point by the negative of a given Int32Size . |