PointF Methods |
The PointF type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Abs |
Returns the absolute X and Y components of the specified point |
![]() | AngleTo |
Gets the angle of the width/height as a vector from the specified destination.
|
![]() | Distance(PointF) |
Gets the distance between this point and the specified point |
![]() ![]() | Distance(PointF, PointF) |
Gets the distance between two points using pythagoras theorem
|
![]() | DotProduct(PointF) |
Gets the dot product of this instance and the specified point |
![]() ![]() | DotProduct(PointF, PointF) |
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(PointF) |
Returns a value indicating that the specified other point is equal to this point
|
![]() | GetHashCode |
Gets the hash code of this point
(Overrides ValueTypeGetHashCode.) |
![]() | LengthTo |
Gets the length between this point and the destination point.
|
![]() ![]() | Max |
Returns the maximum X and Y components of two points
|
![]() ![]() | Min |
Returns the minimum X and Y components of two points
|
![]() | Offset(PointF) |
Offsets the X and Y co-ordinates of this point by the values from the specified offset |
![]() | Offset(Single, Single) |
Offsets the X and Y co-ordinates of this point by the specified x and y values
|
![]() ![]() | Offset(PointF, PointF) |
Offsets the X and Y co-ordinates of the point by the values from the specified offset |
![]() ![]() | Offset(PointF, Single, Single) |
Offsets the X and Y co-ordinates of the point by the specified x and y values
|
![]() | Restrict(RectangleF) |
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 |
![]() | Rotate(Single) |
Treats the point as a vector and rotates it around the origin (0,0) by the specified angle.
|
![]() ![]() | Rotate(PointF, Single) |
Treats the point as a vector and rotates it around the origin (0,0) by the specified angle.
|
![]() | ToString |
Converts this point to a string
(Overrides ValueTypeToString.) |
![]() ![]() | UnitVectorAtAngle |
Creates a unit vector PointF (a point with a Length of 1.0 from origin 0,0) with the specified angle, in degrees
|