drawRect
Draws the rectangle.
Effects and the following additional drawing parameters are supported:
width- width of the rectangle (canvas width by default)height- height of the rectangle (canvas height by default)radius- when non-zero, radius of the rounding for the rectangle corners (0 by default)
Parameters
config
parameters to draw the rectangle