[]
        
(Showing Draft Content)

C1.Android.Core.C1Rect.-ctor

C1Rect Constructor

C1Rect(C1Point, C1Point)

Initializes a C1Rect structure that is exactly large enough to contain the two specified points.

Declaration
public C1Rect(C1Point point1, C1Point point2)
Parameters
Type Name Description
C1Point point1

The first point that the new rectangle must contain.

C1Point point2

The second point that the new rectangle must contain.

C1Rect(C1Point, C1Size)

Initializes a C1Rect structure based on an origin and size.

Declaration
public C1Rect(C1Point location, C1Size size)
Parameters
Type Name Description
C1Point location

The location.

C1Size size

The size.

C1Rect(double, double, double, double)

Initializes a C1Rect structure that has the specified x-coordinate, y-coordinate, width, and height.

Declaration
public C1Rect(double x, double y, double width, double height)
Parameters
Type Name Description
double x

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

double y

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

double width

The width of the rectangle.

double height

The height of the rectangle.