Canvas.setScrollRegion

Set the scroll region of the canvas. This region can be scrolled using scrollbars if it's bigger than the canvas widget itself.

class Canvas
setScrollRegion
(
this T
)
(
double left
,
double top
,
double right
,
double bottom
)

Parameters

left double

The left hand side of the widget.

top double

The top side of the widget.

right double

The right hand side of the widget.

bottom double

The bottom side of the widget.

Return Value

Type: auto

This widget to aid method chaining.

Meta