Point Methods |
The Point type exposes the following members.
| Name | Description | |
|---|---|---|
| Abs |
Returns the absolute X and Y components of the specified point | |
| Distance(Point) |
Gets the distance between this point and the specified point | |
| Distance(Point, Point) |
Gets the distance between two points using pythagoras theorem
| |
| DotProduct(Point) |
Gets the dot product of this instance and the specified point | |
| DotProduct(Point, Point) |
Gets the dot product between two points
| |
| Equals(Object) |
Returns a value indicating that the specified obj is equal to this point
(Overrides ValueTypeEquals(Object).) | |
| Equals(Point) |
Returns a value indicating that the specified other point is equal to this point
| |
| GetHashCode |
Gets the hash code of this point
(Overrides ValueTypeGetHashCode.) | |
| Max |
Returns the maximum X and Y components of two points
| |
| Min |
Returns the minimum X and Y components of two points
| |
| Offset(Point) |
Offsets the X and Y co-ordinates of this point by the values from the specified point | |
| Offset(Int32, Int32) |
Offsets the X and Y co-ordinates of this point by the specified x and y values
| |
| Offset(Point, Point) |
Offsets the X and Y co-ordinates of the point by the values from the specified offset | |
| Offset(Point, Int32, Int32) |
Offsets the X and Y co-ordinates of the point by the specified x and y values
| |
| Restrict(Rectangle) |
Restricts the X and Y co-ordinates within the specified rectangle | |
| Restrict(Point, Rectangle) |
Restricts the X and Y co-ordinates of the specified point within the rectangle | |
| Round |
Rounds the X and Y components of the specified point to a Point | |
| ToString |
Converts this point to a string
(Overrides ValueTypeToString.) | |
| Truncate |
Truncates the X and Y components of the specified point to a Point | |
| UnitVectorAtAngle |
Creates a unit vector PointF (a point with a Length of 1.0 from origin 0,0) with the specified angle, in degrees
|