Scenic.Primitive.Style.Join (Scenic v0.11.0-beta.0) 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 Format

Join can be any of the following values:

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