Navigation
Synopsis An invisible space.
Function Figure space(Figure inner, FProperty props...)
Description A space is an invisible placeholder and acts like an invisible box.
Examples A space can only be observed indirectly by placing it between two visible figures:
b1 = box(size(100, 50), fillColor("red"));
b2 = box(size(50, 50), fillColor("yellow"));
s1 = space(size(20,20));
render(hcat([b1, s1, b2]));
space 1
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.