Skip to main content

StrokeCap

type StrokeCap = "NONE" | "ROUND" | "SQUARE" | "ARROW_LINES" | "ARROW_EQUILATERAL"

The possible values are:

  • "NONE": nothing is added to the end of the stroke
  • "ROUND": a semi-circle is added to the end of the stroke
  • "SQUARE": a square is added to the end of the stroke
  • "ARROW_LINES": an arrow made up of two lines is added to the end of the stroke
  • "ARROW_EQUILATERIAL": an arrow made up of an equilateral triangle is added to the end of the stroke