Point.Round(PointF) Point.Round(PointF) Point.Round(PointF) Point.Round(PointF) Method

Definición

Convierte la estructura PointF en un objeto Point redondeando los valores de Point a los valores enteros más cercanos.Converts the specified PointF to a Point object by rounding the Point values to the nearest integer.

public:
 static System::Drawing::Point Round(System::Drawing::PointF value);
public static System.Drawing.Point Round (System.Drawing.PointF value);
static member Round : System.Drawing.PointF -> System.Drawing.Point
Public Shared Function Round (value As PointF) As Point

Parámetros

value
PointF PointF PointF PointF

Valor PointF que se va a convertir.The PointF to convert.

Devoluciones

Estructura Point a la que convierte este método.The Point this method converts to.

Se aplica a