Navigation
Synopsis Define the position of a shadow.
Description Determines the positions of shadows. The shadow position can also be set for separate dimensions by hshadowPos and vshadowPos.

Note that:
  • shadowPos(n) is equivalent to shadowPos(n, n).
  • shadowPos(hs, vs) is equivalent to hshadowPos(hs), vshadowPos(vs).
Also see shadow and shadowColor.
Examples
box1 = box(shrink(0.5),shadow(true), shadowPos(50,50));
render(space(box1));
s1
Pitfalls Shadow is not taken into account for size computation
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.