PointF Structure

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

Namespace:  Aspose.CAD
Assembly:  Aspose.CAD (in Aspose.CAD.dll) Version: 20.8
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 methodStatic memberToPointApsArray
Performs an explicit conversion from PointF arr to ApsPoint arr.
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 member(PointF to ApsPoint)
Performs an explicit conversion from PointF to ApsPoint.
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