Point.Round(PointF) Metodo

Definizione

Converte l'oggetto PointF specificato in un oggetto Point arrotondando i valori di PointF agli interi più vicini.Converts the specified PointF to a Point object by rounding the PointF 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

Parametri

value
PointF

Oggetto PointF da convertire.The PointF to convert.

Restituisce

Point

Oggetto Point in cui questo metodo esegue la conversione.The Point this method converts to.

Si applica a