This documentation is archived and is not being maintained.
PointF Structure
Visual Studio 2010
Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimensional plane.
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
