GlDragLine
simple line e.g. when dragging a port
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
color: * |
|
public get |
glPort: * |
|
public get |
isActive: * |
Private Members | ||
private |
_button: * |
|
private |
_color: number[] |
|
private |
_glPatch: * |
|
private |
_glPort: * |
|
private |
_lineIndices: *[] |
|
private |
_log: * |
|
private |
_rect: * |
|
private |
|
|
private |
_splineIdx: * |
|
private |
_startGlPorts: *[] |
|
private |
_startPortId: * |
|
private |
|
|
private |
_x: number |
|
private |
_y: number |
|
private |
_z: * |
Method Summary
Public Methods | ||
public |
setColor(rgba: *) |
|
public |
setPort(glp: *) |
|
public |
setPosition(x: *, y: *) |
|
public |
stop() |
Private Methods | ||
private |
|
|
private |
_update() |
Public Constructors
public constructor() source
Public Members
public color: * source
public get glPort: * source
public get isActive: * source
Private Members
private _button: * source
private _color: number[] source
private _glPatch: * source
private _glPort: * source
private _lineIndices: *[] source
private _log: * source
private _rect: * source
private _splineDrawer: * source
private _splineIdx: * source
private _startGlPorts: *[] source
private _startPortId: * source
private _startPortOpId: * source
private _x: number source
private _y: number source
private _z: * source
Public Methods
public setColor(rgba: *) source
Params:
Name | Type | Attribute | Description |
rgba | * |
public setPort(glp: *) source
Params:
Name | Type | Attribute | Description |
glp | * |
public setPosition(x: *, y: *) source
Params:
Name | Type | Attribute | Description |
x | * | ||
y | * |