Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LineWidthPanel

Line width toolbox panel.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new LineWidthPanel(title: string, widths: number[], currentWidth?: number, icon?: 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).

    Returns LineWidthPanel

Properties

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.

Methods

getUi

  • getUi(): HTMLDivElement

Generated using TypeDoc