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

Set how to connect two lines in a path.

Works with primitives that have clear joints, such as Rectangle, Quad, Triangle, and Path.

Example:

graph
|> triangle( {{0,40},{40,40},{40,0}}
  join: :round,
  stroke: {2, :green}
)

Data

  • :miter - Miter the pointy part of the joint.
  • :round - Round the entire joint.
  • :bevel - Bevel the joint.