Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LineStyle

Represents the style used to render a line.

 const my3pxLine = {
     lineWidth: 3,
     color: 'red',
 }

Hierarchy

  • LineStyle

Properties

color: Color

color of the rendered line

lineStyle: string | Solid | ThreeOne | TwoTwo | FiveTwo | FourFour

Optional. Defaults to DashLineStyle.Solid. See DashLineStyle for accepted values.

lineWidth: number

width in pixels of the rendered line

opacity: number

Optional. Opacity of the rendered line.

Generated using TypeDoc