Home Reference Source
import GlSelectionArea from './ui/glpatch/glselectionarea.js'
public class | source

GlSelectionArea

selection area, when dragging the mouse on the patchfield

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get

active: *

public get

h: *

public
public get

w: *

Private Members
private

_h: number

private
private

_w: number

private

_x: *

private

_y: *

Method Summary

Public Methods
public
public

isVisible(): *

public
public

setColor(rgba: *)

public

setMousePos(x: *, y: *)

public

setPos(x: *, y: *)

public

setSize(w: *, h: *)

public

Public Constructors

public constructor() source

Public Members

public get active: * source

public get h: * source

public previousOps: *[] source

public get w: * source

Private Members

private _h: number source

private _selectRect: * source

private _w: number source

private _x: * source

private _y: * source

Public Methods

public hideArea() source

public isVisible(): * source

Return:

*

public mouseUp() source

public setColor(rgba: *) source

Params:

NameTypeAttributeDescription
rgba *

public setMousePos(x: *, y: *) source

Params:

NameTypeAttributeDescription
x *
y *

public setPos(x: *, y: *) source

Params:

NameTypeAttributeDescription
x *
y *

public setSize(w: *, h: *) source

Params:

NameTypeAttributeDescription
w *
h *

public updateTheme() source