This documentation is archived and is not being maintained.

PointF Members

PointF overview

Public Constructors

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

Public Fields

public fieldstatic (Shared in Visual Basic)Empty Represents a new instance of the PointF class with member data left uninitialized.

Public Properties

public propertyIsEmpty Gets a value indicating whether this PointF is empty.
public propertyX Gets the x-coordinate of this PointF.
public propertyY Gets the y-coordinate of this PointF.

Public Methods

public methodEquals Overridden. Specifies whether this PointF contains the same coordinates as the specified Object.
public methodGetHashCode Overridden. Returns a hash code for this PointF object.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString Overridden. Converts this PointF to a human readable string.

Public Operators

public operatorstatic (Shared in Visual Basic)Addition Operator Translates a PointF by a given Size.
public operatorstatic (Shared in Visual Basic)Equality Operator Compares two PointF structures. The result specifies whether the values of the X and Y properties of the two PointF objects are equal.
public operatorstatic (Shared in Visual Basic)Inequality Operator Compares two PointF objects. The result specifies whether the values of the X or Y properties of the two PointF objects are unequal.
public operatorstatic (Shared in Visual Basic)Subtraction Operator Translates a PointF by the negative of a given Size.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PointF Structure | System.Drawing Namespace

Show: