PointF Structure
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)
| Name | Description | |
|---|---|---|
![]() | PointF(Single, Single) | Initializes a new instance of the PointF class with the specified coordinates. |
| 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(Object^) | Specifies whether this PointF contains the same coordinates as the specified Object.(Overrides ValueType::Equals(Object^).) |
![]() | GetHashCode() | Returns a hash code for this PointF structure.(Overrides ValueType::GetHashCode().) |
![]() | GetType() | |
![]() ![]() | 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 | |
|---|---|---|
![]() ![]() | Empty | Represents a new instance of the PointF class with member data left uninitialized. |
| Name | Description | |
|---|---|---|
![]() ![]() | Addition(PointF, Size) | Translates a PointF by a given Size. |
![]() ![]() | Addition(PointF, SizeF) | Translates the PointF by the specified SizeF. |
![]() ![]() | Equality(PointF, PointF) | |
![]() ![]() | Inequality(PointF, PointF) | 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.
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.




