Navigation
Synopsis Define a standard property value for all contained figures.
Function FProperty std(FProperty prop)
Description Set prop as the standard property for all figures contained in the current figure (including the figure itself).
Examples In the following, each box controls its own size and lineColor, but the properties fillColor, lineWidth and resizable are controlled by a standard setting in hcat:

boxes = [ box(lineColor("red")), 
          box(), 
          box(lineColor("yellow"))
        ];
render(box(hcat(boxes,shrink(0.9)),std(lineColor("blue")), std(fillColor("grey")), std(lineWidth(3))));
s1

If a figure does not specify a certain property, then the standard will be used.
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.