Table of Contents

Constructor RectangleF

Namespace
Aspose.CAD
Assembly
Aspose.CAD.dll

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 float

The x-coordinate of the upper-left corner of the rectangle.

y float

The y-coordinate of the upper-left corner of the rectangle.

width float

The width of the rectangle.

height float

The 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)

Parameters

location PointF

A PointF that represents the upper-left corner of the rectangular region.

size SizeF

A SizeF that represents the width and height of the rectangular region.