public final class PointExtensions extends Object
Contains extension methods for Point
and PointF
structures.
Modifier and Type | Method and Description |
---|---|
static Point2D.Float |
toGdiPoint(PointF point)
Converts the
PointF to System.Drawing.PointF . |
static Point2D.Float[] |
toGdiPoints(PointF[] points)
Converts the
PointF array to the System.Drawing.PointF array. |
static PointF[] |
toPointsArray(Point[] points)
Converts the
Point array to the PointF array. |
public static PointF[] toPointsArray(Point[] points)
Converts the Point
array to the PointF
array.
points
- The Point
array to convert.PointF
array.public static Point2D.Float[] toGdiPoints(PointF[] points)
Converts the PointF
array to the System.Drawing.PointF
array.
points
- The PointF
array to convert.System.Drawing.PointF
array.public static Point2D.Float toGdiPoint(PointF point)
Converts the PointF
to System.Drawing.PointF
.
point
- The PointF
to convert.System.Drawing.PointF
.