setBounds(bounds_left: PP.Rect | Number, top: Number, width: Number, height: Number);
bounds_left. Left indent from the parent element edge or a rectangle that sets borders.
top. Top indent from parent element edge.
width. Canvas width.
height. Canvas height.
The setBounds method sets canvas boundaries.
The example of method use is given on the Example of Creating the Canvas Component page.
See also: