Class Canvas.rectSource

An item to draw a rectangle. Its kind is "rect". Width and height of the rectangle can be specified with optional arguments w and h.

inherit full_item
method resize : ?w:int -> ?h:int -> unit -> unit