|
| |
| Navigation |
Synopsis Define the minimal size of a figure.
Function
Fproperty size(num h, num v)
Examples By default, the following box
b1 = box(size(200,100), fillColor("red"));
render(b1);
will be displayed with the given minimal sizes:
By default all figures are resizable and will occupy all available space as determined by
b1 is displayed to, say, 400, 200, we get:
b1 = box(size(200,100), fillColor("red"));
render(b1);
Resizing can be turned off by setting resizable to false. |