Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane. Instances of this class are immutable.
The following tables list the members exposed by the Point type.
Name | Description | |
---|---|---|
![]() |
Overloaded. Initializes a new instance of the Point class. |
Name | Description | |
---|---|---|
![]() ![]() |
Represents a point with all properties set to zero. |
Name | Description | |
---|---|---|
![]() |
Cloneable.clone implementation. |
|
![]() |
Checks whether this point has the same coordinates as the specified object. |
|
![]() |
Gets the x-coordinate of this point. |
|
![]() |
Gets the y-coordinate of this point. |
|
![]() |
Returns a hash code for the point. |
|
![]() |
Overloaded. Translates this point by a specified amount. |
|
![]() |
Externalizable.readExternal implementation. |
|
![]() |
Converts this point to a Size object. |
|
![]() |
Converts this point to a human-readable string. |
|
![]() |
Creates a new point with x-coordinate set to the specified value and y-coordinate equal to that of the current point. |
|
![]() |
Creates a new point with y-coordinate set to the specified value and x-coordinate equal to that of the current point. |
|
![]() |
Externalizable.writeExternal implementation. |