Scenic v0.10.2 Scenic.Primitive.Style.Join 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.