System::Drawing::RectangleF::FromLTRB 方法

RectangleF::FromLTRB method

构造一个新的 RectangleF 对象,该对象表示具有指定边缘位置的矩形。

static RectangleF System::Drawing::RectangleF::FromLTRB(float left, float top, float right, float bottom)
ParameterType描述
单精度浮点数矩形左边缘的 X 坐标
单精度浮点数矩形上边缘的 Y 坐标
单精度浮点数矩形右边缘的 X 坐标
单精度浮点数矩形下边缘的 Y 坐标

ReturnValue

RectangleF 类的实例,表示指定的矩形

另见