![]() |
|
Navigation |
Synopsis Decrease (shrink) the size of a figure relative to its parent.
Function
FProperty shrink(num hg, num vg)
Description Shrink the current figure relative to the figure it is contained in (its parent).
Shrink is expressed as a factor smaller than 1.
Note that:
Examples
b1 = box(shrink(0.5), fillColor("blue")); b2 = box(b1, size(100, 50), fillColor("yellow")); render(b2); ![]() ![]() |