Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LineStylePanel

Line style (solid, dashed, etc.) toolbox panel.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new LineStylePanel(title: string, styles: string[], currentStyle?: string, icon?: string): LineStylePanel
  • Creates a line style toolbox panel.

    Parameters

    • title: string

      panel title

    • styles: string[]

      available line styles (dash array).

    • Optional currentStyle: string

      currently selected style.

    • Optional icon: string

      panel button icon (SVG image markup).

    Returns LineStylePanel

Properties

icon

icon: string

Panel button icon as an SVG markup.

Optional onStyleChanged

onStyleChanged: StyleChangeHandler

Handler for the style change event.

title

title: string

Panel name/title.

Methods

getUi

  • getUi(): HTMLDivElement

Generated using TypeDoc