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:  System.Drawing (in System.Drawing.dll)

[SerializableAttribute]
[ComVisibleAttribute(true)]
public struct PointF

NameDescription
System_CAPS_pubmethodPointF(Single, Single)

Initializes a new instance of the PointF class with the specified coordinates.

NameDescription
System_CAPS_pubpropertyIsEmpty

Gets a value indicating whether this PointF is empty.

System_CAPS_pubpropertyX

Gets or sets the x-coordinate of this PointF.

System_CAPS_pubpropertyY

Gets or sets the y-coordinate of this PointF.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAdd(PointF, Size)

Translates a given PointF by the specified Size.

System_CAPS_pubmethodSystem_CAPS_staticAdd(PointF, SizeF)

Translates a given PointF by a specified SizeF.

System_CAPS_pubmethodEquals(Object)

Specifies whether this PointF contains the same coordinates as the specified Object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Returns a hash code for this PointF structure.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticSubtract(PointF, Size)

Translates a PointF by the negative of a specified size.

System_CAPS_pubmethodSystem_CAPS_staticSubtract(PointF, SizeF)

Translates a PointF by the negative of a specified size.

System_CAPS_pubmethodToString()

Converts this PointF to a human readable string.(Overrides ValueType.ToString().)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticEmpty

Represents a new instance of the PointF class with member data left uninitialized.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticAddition(PointF, Size)

Translates a PointF by a given Size.

System_CAPS_puboperatorSystem_CAPS_staticAddition(PointF, SizeF)

Translates the PointF by the specified SizeF.

System_CAPS_puboperatorSystem_CAPS_staticEquality(PointF, PointF)

Compares two PointF structures. The result specifies whether the values of the X and Y properties of the two PointF structures are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(PointF, PointF)

Determines whether the coordinates of the specified points are not equal.

System_CAPS_puboperatorSystem_CAPS_staticSubtraction(PointF, Size)

Translates a PointF by the negative of a given Size.

System_CAPS_puboperatorSystem_CAPS_staticSubtraction(PointF, SizeF)

Translates a PointF by the negative of a specified SizeF.

To convert a PointF to a Point, use Point.Round or Point.Truncate.

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: