Name | Description | |
---|---|---|
Point2D Constructor | Overloaded. |
The following tables list the members exposed by Point2D.
Name | Description | |
---|---|---|
Point2D Constructor | Overloaded. |
Name | Description | |
---|---|---|
Empty | An empty point. | |
SizeInBytes | The size of the Point2D type, in bytes. | |
X | The X coordinate of the point. | |
Y | The Y coordinate of the point. |
Name | Description | |
---|---|---|
Distance | Gets the distance to the given point. | |
DistanceSquared | Gets the square of the distance to the given point. | |
Equals | Overloaded. Indicates whether this instance and a specified object are equal. | |
FromDips | Overloaded. Converts a point from DIPs to pixels. | |
GetHashCode | Returns a hash code for this instance. | |
Offset | Overloaded. Offsets the point by the specified amount. | |
Round | Returns a Point2L with rounded X and Y coordinates. | |
Scale | Overloaded. Scales X and Y coordinates of a point by the specified scaleFactor. | |
ToDips | Overloaded. Converts a point from pixels to DIPs. | |
ToPoint | Converts Point2D to System.Windows.Point. | |
ToPoint2F | Converts Point2D to Point2F. | |
ToString | Returns a string that represents the current object. | |
Truncate | Returns a Point2L with truncated X and Y coordinates. |
Addition | Overloaded. Returns the result of addition of size to point. |
Equality | Determines if the specified values are equal. |
Explicit Type Conversion | Overloaded. Performs an explicit conversion from Point2D to System.Windows.Point. |
Inequality | Determines if the specified values are not equal. |
Subtraction | Overloaded. Returns the result of substruction of size from point. |