Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OpacityPanel

Opacity panel.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new OpacityPanel(title: string, opacities: number[], currentOpacity?: number, icon?: string, id?: string): OpacityPanel
  • Creates an opacity panel.

    Parameters

    • title: string

      panel title.

    • opacities: number[]

      available opacities.

    • Optional currentOpacity: number

      current opacity.

    • Optional icon: string

      toolbox panel button (SVG image markup).

    • Optional id: string

      panel ID.

    Returns OpacityPanel

Properties

Protected Optional _id

_id: string

icon

icon: string

Panel button icon as an SVG markup.

Optional onOpacityChanged

onOpacityChanged: OpacityChangeHandler

Opacity 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