Method Cairo.Context()->rectangle()
- Method
rectangle
void
rectangle(float
|int
x
,float
|int
y
,float
|int
width
,float
|int
height
)- Description
Adds a closed sub-path rectangle of the given size to the current path at position (x, y) in user-space coordinates.
- Parameter
x
the X coordinate of the top left corner of the rectangle
- Parameter
y
the Y coordinate to the top left corner of the rectangle
- Parameter
width
the width of the rectangle
- Parameter
height
the height of the rectangle