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

Draw an outline around a primitive with the given paint.

Example:

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

Data

{width, paint}

  • width - Width of the border being stroked.
  • :paint - Any valid paint.