PointF Structure

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

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public struct PointF

The PointF type exposes the following members.

Constructors
  NameDescription
Public methodPointF
Initializes a new instance of the PointF structure with the specified coordinates.
Properties
  NameDescription
Public propertyIsEmpty
Gets a value indicating whether this PointF is empty.
Public propertyX
Gets or sets the x-coordinate of this PointF.
Public propertyY
Gets or sets the y-coordinate of this PointF.
Methods
  NameDescription
Public methodStatic memberAdd(PointF, Size)
Translates a given PointF by a specified SizeF.
Public methodStatic memberAdd(PointF, SizeF)
Translates a given PointF by a specified SizeF.
Public methodEquals
Specifies whether this PointF contains the same coordinates as the specified Object.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from ValueType.)
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two PointF structures. The result specifies whether the values of the X and Y properties of the two PointF structures are equal.
Public operatorStatic memberInequality
Determines whether the coordinates of the specified points are not equal.
Fields
  NameDescription
Public fieldStatic memberEmpty
Represents a new instance of the PointF class with member data left uninitialized.
See Also