Navigation
Synopsis Sets the style of lines and borders of figures.
Function FProperty lineStyle(str style)
Description The following line styles are available:
  • "solid" (default)
  • "dash"
  • "dot"
  • "dashdot"
  • "dashdotdot"
Examples
b1 = box(size(50), lineStyle("dash"));
render(b1);
gives box1

b2 = box(size(50), lineStyle("dot"));
render(b2);
gives box2

b3 = box(size(50), lineStyle("dashdot"));
render(b3);
gives box3

b4 = box(size(50), lineStyle("dashdotdot"));
render(b4);
gives box4
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.