PointF Class
Represents an ordered pair of floating point corresponding to the horizontal and vertical coordinates that define a point in a two-dimensional plane. This class cannot be inherited.
Definition
| public sealed class PointF: Object |
Members Table
The following table lists the members exposed by the PointF object. Click a tab on the left to choose the type of member you want to view.
Methods
| Method | Description |
|---|
| Equals | Overloaded. Compares two objects to determine if they are equal. |
| GetHashCode | Overriden. Returns a hash code for this PointF object. |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| Offset | Translates this PointF by the specified amount. |
| PointF | Overloaded. Initializes a new instance of PointF. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object) |
| ToString | Overriden. Converts this PointF to a human readable string. |
Properties
| Property | Description |
|---|
| Empty | Represents a null PointF. |
| IsEmpty | Gets a value indicating whether this PointF is empty. |
| X | Gets or sets the horizontal coordinate of this PointF. |
| Y | Gets or sets the vertical coordinate of this PointF. |
Operators
| Operator | Description |
|---|
| operator != | Compares two PointF objects. The result specifies whether the values of the X or Y properties of the two PointF objects are unequal. |
| operator + | Translates a PointF by a given Size. |
| operator - | Translates a PointF by the negative of a given Size. |
| operator == | Compares two PointF objects. The result specifies whether the values of the X and Y properties of the two PointF objects are equal. |
Inheritance Hierarchy
ObjectPointF
Class Information
| Namespace | System.Drawing |
|---|
| Flash Library | System.Drawing.scl |
|---|
| Flash Library Version | 2.0.0.1291 |
|---|
| Silverlight Library | System.Windows.Forms.dll |
|---|