GlSelectionArea
selection area, when dragging the mouse on the patchfield
Constructor Summary
| Public Constructor | ||
| public |
constructor(rectinstancer: GlRectInstancer) |
|
Member Summary
| Public Members | ||
| public get |
active: * |
|
| public get |
h: * |
|
| public |
previousOps: *[] |
|
| public get |
w: * |
|
| Private Members | ||
| private |
_h: number |
|
| private |
_selectRect: * |
|
| private |
_w: number |
|
| private |
_x: * |
|
| private |
_y: * |
|
Method Summary
| Public Methods | ||
| public |
hideArea() |
|
| public |
isVisible(): * |
|
| public |
mouseUp() |
|
| public |
setColor(rgba: number[]) |
|
| public |
setMousePos(_x: *, _y: *) this method was deprecated.
|
|
| public |
setPos(x: number, y: number) |
|
| public |
setSize(w: number, h: number) |
|
| public |
|
|
Public Constructors
public constructor(rectinstancer: GlRectInstancer) source
Params:
| Name | Type | Attribute | Description |
| rectinstancer | GlRectInstancer |
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 mouseUp() source
public setColor(rgba: number[]) source
Params:
| Name | Type | Attribute | Description |
| rgba | number[] |
public setMousePos(_x: *, _y: *) source
Params:
| Name | Type | Attribute | Description |
| _x | * | ||
| _y | * |
public setPos(x: number, y: number) source
Params:
| Name | Type | Attribute | Description |
| x | number | ||
| y | number |
public setSize(w: number, h: number) source
Params:
| Name | Type | Attribute | Description |
| w | number | ||
| h | number |