Class Cairo.Rectangle

Description

A data structure for holding a rectangle.


Variable height

float Cairo.Rectangle.height

Description

height of the rectangle


Variable width

float Cairo.Rectangle.width

Description

width of the rectangle


Variable x

float Cairo.Rectangle.x

Description

X coordinate of the left side of the rectangle


Variable y

float Cairo.Rectangle.y

Description

Y coordinate of the top side of the rectangle


Method create

Cairo.Rectangle Cairo.Rectangle(float|int x, float|int y, float|int width, float|int height)

Parameter x

X coordinate of the left side of the rectangle

Parameter y

Y coordinate of the top side of the rectangle

Parameter width

width of the rectangle

Parameter height

height of the rectangle