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

定義

指定された PointF の値を最も近い整数に丸めることで、その PointPoint オブジェクトに変換します。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

パラメーター

value
PointF PointF PointF PointF

変換対象の PointFThe PointF to convert.

戻り値

このメソッドで変換された PointThe Point this method converts to.

適用対象