Struct Point
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.
public struct Point
- Inherited Members
Constructors
- Point(Size)
Initializes a new instance of the Point structure from the Size structure.
- Point(int)
Initializes a new instance of the Point structure using coordinates specified by an integer value.
- Point(int, int)
Initializes a new instance of the Point structure with the specified coordinates.
Properties
Methods
- Ceiling(PointF)
Converts the specified PointF to a Point by rounding the values of the PointF to the next higher integer values.
- Equals(object)
Specifies whether this Point contains the same coordinates as the specified object.
- GetHashCode()
Returns a hash code for this Point.
- Offset(int, int)
Translates this Point by the specified amount.
- Round(PointF)
Converts the specified PointF to a Point object by rounding the Point values to the nearest integer.
- Subtract(Point, Size)
Returns the result of subtracting specified Size from the specified Point.
- ToString()
Converts this Point to a human-readable string.
- Truncate(PointF)
Converts the specified PointF to a Point by truncating the values of the Point.
Operators
- operator ==(Point, Point)
Compares two Point objects. The result specifies whether the values of the X and Y properties of the two Point objects are equal.
- implicit operator PointF(Point)
Converts the specified Point structure to the PointF structure.
- operator !=(Point, Point)
Compares two Point objects. The result specifies whether the values of the X or Y properties of the two Point objects are unequal.