Scenic.Primitive.Style.Hidden (Scenic v0.10.3) View Source

Flags whether or not to draw a primitive.

Example:

graph
|> rectangle({100, 200}, hidden: true)

Data

  • true - "Hide" the primitive. Drawing is skipped.
  • false - "Show" the primitive. Drawing is run.

Note: setting hidden: true on a group will hide all the primitives in the group. This is very efficient as it simply skips drawing the group and everything in it.