Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LineWidthPanel

Line width toolbox panel.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new LineWidthPanel(title: string, widths: number[], currentWidth?: number, icon?: string, id?: string): LineWidthPanel
  • Creates a line width toolbox panel.

    Parameters

    • title: string

      panel title.

    • widths: number[]

      available widths.

    • Optional currentWidth: number

      currently set width.

    • Optional icon: string

      toolbox panel icon (SVG image markup).

    • Optional id: string

      panel ID.

    Returns LineWidthPanel

Properties

Protected Optional _id

_id: string

icon

icon: string

Panel button icon as an SVG markup.

Optional onWidthChanged

onWidthChanged: WidthChangeHandler

Line width change event handler.

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