PointF Structure
.NET Framework 4.5
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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)
The PointF type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add(PointF, Size) | Translates a given PointF by the specified Size. |
|
Add(PointF, SizeF) | Translates a given PointF by a specified SizeF. |
|
Equals | Specifies whether this PointF contains the same coordinates as the specified Object. (Overrides ValueType.Equals(Object).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Returns a hash code for this PointF structure. (Overrides ValueType.GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Subtract(PointF, Size) | Translates a PointF by the negative of a specified size. |
|
Subtract(PointF, SizeF) | Translates a PointF by the negative of a specified size. |
|
ToString | Converts this PointF to a human readable string. (Overrides ValueType.ToString().) |
| Name | Description | |
|---|---|---|
|
Addition(PointF, Size) | Translates a PointF by a given Size. |
|
Addition(PointF, SizeF) | Translates the PointF by the specified SizeF. |
|
Equality | Compares two PointF structures. The result specifies whether the values of the X and Y properties of the two PointF structures are equal. |
|
Inequality | Determines whether the coordinates of the specified points are not equal. |
|
Subtraction(PointF, Size) | Translates a PointF by the negative of a given Size. |
|
Subtraction(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.
Windows 8 Consumer Preview, Windows Server 8 Beta, Windows 7, Windows Server 2008 SP2, Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.