set_bounds


Description:

public void set_bounds (double left, double top, double right, double bottom)

Sets the bounds of the Canvas, in canvas units.

By default, canvas units are pixels, though the units property can be used to change the units to points, inches or millimeters.

Parameters:

this

a Canvas.

left

the left edge.

top

the top edge.

right

the right edge.

bottom

the bottom edge.




2022 vala-language.org