View Source Scenic.Primitive.Style.Stroke (Scenic v0.11.2)
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-format
  
  Data Format
{width, paint}
width- Width of the border being stroked.paint- Any paint data.
The paint can any be any format defined by the following modules:
Scenic.Primitive.Style.Paint.ColorScenic.Primitive.Style.Paint.ImageScenic.Primitive.Style.Paint.LinearGradientScenic.Primitive.Style.Paint.RadialGradientScenic.Primitive.Style.Paint.Stream
See the documentation for the paint module for further details.