System::Drawing::Point::Round method

Point::Round method

Constructs a Point object from the specified PointF object by rounding the PointF object’s X and Y coordinates values to the nearest integer values.

static Point System::Drawing::Point::Round(const PointF &point)
ParameterTypeDescription
pointconst PointF&The PointF object to construct a Point object from

ReturnValue

A Point object constructed from point

See Also