Method Cairo.Context()->rectangle()
- Method
rectangle
voidrectangle(float|intx,float|inty,float|intwidth,float|intheight)- 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