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

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 19.9
Syntax
[SerializableAttribute]
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 propertyStatic memberEmpty
Gets a new instance of the PointF structure that has X and Y values set to zero.
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 the specified Size.
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 PointF structure.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodStatic memberSubtract(PointF, Size)
Translates a PointF by the negative of a specified size.
Public methodStatic memberSubtract(PointF, SizeF)
Translates a PointF by the negative of a specified size.
Public methodToString
Converts this PointF to a human readable string.
(Overrides ValueTypeToString.)
Operators
  NameDescription
Public operatorStatic memberAddition(PointF, Size)
Translates a PointF by a given Size.
Public operatorStatic memberAddition(PointF, SizeF)
Translates the PointF by the specified SizeF.
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.
Public operatorStatic memberSubtraction(PointF, Size)
Translates a PointF by the negative of a given Size.
Public operatorStatic memberSubtraction(PointF, SizeF)
Translates a PointF by the negative of a specified SizeF.
See Also