Constructor RectangleF
RectangleF(float, float, float, float)
Initializes a new instance of the RectangleF structure with the specified location and size.
public RectangleF(float x, float y, float width, float height)
Parameters
x
floatThe x-coordinate of the upper-left corner of the rectangle.
y
floatThe y-coordinate of the upper-left corner of the rectangle.
width
floatThe width of the rectangle.
height
floatThe height of the rectangle.
RectangleF(PointF, SizeF)
Initializes a new instance of the RectangleF structure with the specified location and size.
public RectangleF(PointF location, SizeF size)