|
| |
| Navigation |
Synopsis Define minimal gap between figures in compositions.
Function
FProperty gap(num h, num v)
Description Set the minimal horizontal gap between figures to
h and the minimal vertical gap to v.
Also see hgap and vgap. Note that:
Examples
b1 = box(fillColor("blue"));
b2 = box(fillColor("yellow"));
b3 = box(fillColor("green"));
render(hcat([b1, b2, b2], gap(50)));
b1 = box(fillColor("blue"));
b2 = box(b1,hgap(50),vgap(10),fillColor("yellow"));
render(b2);
b1 = box(fillColor("blue"),left(),top());
b2 = box(b1,hgap(50),vgap(10),fillColor("yellow"));
render(b2);
|