System::Drawing::Rectangle::Round メソッド

Rectangle::Round method

指定された RectangleF オブジェクトの位置とサイズの値を最も近い整数に丸めて、Rectangle オブジェクトを構築します。

static Rectangle System::Drawing::Rectangle::Round(const RectangleF &rect)
パラメーター説明
rectconst RectangleF&変換対象の RectangleF オブジェクト

ReturnValue

rect から構築された Rectangle オブジェクト

参照