Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines a line-dash configuration.

See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-dasharray and https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash for how line dashes work.

Setting line-dash to empty array [] resets the dashing.

Hierarchy

  • StrokeOptions

Index

Properties

Properties

Optional dashArray

dashArray: Array<number>

Optional dashOffset

dashOffset: number

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Private property
  • Private method
  • Static property
  • Static method

Generated using TypeDoc