Struct PointF

PointF structure

Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimensional plane.

public struct PointF

Constructors

NameDescription
PointF(float, float)Initializes a new instance of the PointF class with the specified coordinates.

Properties

NameDescription
IsEmpty { get; }Gets a value indicating whether this PointF is empty.
X { get; set; }Gets or sets the x-coordinate of this PointF.
Y { get; set; }Gets or sets the y-coordinate of this PointF.

Methods

NameDescription
Clone()Clones this Aspose.Page.Drawing.PointF.
override Equals(object)Specifies whether this PointF contains the same coordinates as the specified Object.
override GetHashCode()Returns a hash code for this PointF structure.
override ToString()Converts this PointF to a human readable string.
operator ==Compares two PointF structures. The result specifies whether the values of the X and Y properties of the two PointF structures are equal.
operator !=Determines whether the coordinates of the specified points are not equal.

Fields

NameDescription
static readonly EmptyRepresents a new instance of the PointF class with member data left uninitialized.

See Also