This topic has not yet been rated - Rate this topic

Point Members

Point overview

Public Constructors

public constructorPoint Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the Point class with the specified coordinates.

Public Fields

public fieldstatic (Shared in Visual Basic)Empty

Supported by the .NET Compact Framework.

Represents a null Point.

Public Properties

public propertyIsEmpty

Supported by the .NET Compact Framework.

Gets a value indicating whether this Point is empty.
public propertyX

Supported by the .NET Compact Framework.

Gets or sets the x-coordinate of this Point.
public propertyY

Supported by the .NET Compact Framework.

Gets or sets the y-coordinate of this Point.

Public Methods

public methodstatic (Shared in Visual Basic)Ceiling Converts the specified PointF object to a Point object by rounding the values of the PointF object to the next higher integer values.
public methodEquals

Supported by the .NET Compact Framework.

Overridden. Specifies whether this Point contains the same coordinates as the specified Object.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Returns a hash code for this Point object.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodOffset

Supported by the .NET Compact Framework.

Translates this Point by the specified amount.
public methodstatic (Shared in Visual Basic)Round Converts the specified PointF object to a Point object by rounding the Point object values to the nearest integer.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Converts this Point to a human readable string.
public methodstatic (Shared in Visual Basic)Truncate Converts the specified PointF object to a Point object by truncating the values of the Point object.

Public Operators and Type Conversions

public operatorstatic (Shared in Visual Basic)Addition Operator Translates a Point by a given Size.
public operatorstatic (Shared in Visual Basic)Equality Operator

Supported by the .NET Compact Framework.

Compares two Point objects. The result specifies whether the values of the X and Y properties of the two Point objects are equal.
public operatorstatic (Shared in Visual Basic)Inequality Operator

Supported by the .NET Compact Framework.

Compares two Point objects. The result specifies whether the values of the X or Y properties of the two Point objects are unequal.
public operatorstatic (Shared in Visual Basic)Subtraction Operator Translates a Point by the negative of a given Size.
public operatorstatic (Shared in Visual Basic)Point to Size Conversion Creates a Size with the coordinates of the specified Point.
public operatorstatic (Shared in Visual Basic)Point to PointF Conversion Creates a PointF with the coordinates of the specified Point.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

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)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Point Structure | System.Drawing Namespace

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.