Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LineStylePanel

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

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new LineStylePanel(title: string, styles: string[], currentStyle?: string, icon?: string, id?: 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).

    • Optional id: string

      panel ID.

    Returns LineStylePanel

Properties

Protected Optional _id

_id: string

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.

uiStyleSettings

uiStyleSettings: IStyleSettings

UI style settings for colors, etc.

Accessors

id

  • get id(): string | undefined

Methods

getUi

  • getUi(): HTMLDivElement

Generated using TypeDoc