Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
enabled: boolean |
|
public |
rect: * |
Private Members | ||
private |
_glPatch: * |
|
private |
_instancer: * |
|
private |
_rectWidth: number |
|
private |
_timeout: * |
|
private |
_xCoords: *[] |
Method Summary
Public Methods | ||
public |
render(mouseDown: *) |
|
public |
snapOpX(_x: *, op: *, dist: *): * |
|
public |
snapX(_x: *): * |
|
public |
snapY(y: *, force: *): * |
|
public |
update() |
Private Methods | ||
private |
_snapPortX(_x: *, port: *, index: *, dist: *): * |
Inherited Summary
From class Events | ||
public |
off: * |
|
public |
on: * |
|
private |
_eventCallbacks: {} |
|
private |
_listeners: {} |
|
private |
_log: * |
|
private |
_logEvents: boolean |
|
private |
_logName: string |
|
public |
addEventListener(which: *, cb: *, idPrefix: string): string add event listener |
|
public |
emitEvent(which: string, param1: *, param2: *, param3: *, param4: *, param5: *, param6: *) emit event |
|
public |
hasEventListener(id: *, cb: *): boolean check event listener registration |
|
public |
hasListenerForEventName(eventName: *): boolean check event listener by name |
|
public |
logEvents(enabled: boolean, logName: string) enable/disable logging of events for the class |
|
public |
removeEventListener(id: *, cb: *) rempve event listener registration |
Public Constructors
Public Members
public enabled: boolean source
public rect: * source
Private Members
private _glPatch: * source
private _instancer: * source
private _rectWidth: number source
private _timeout: * source
private _xCoords: *[] source
Public Methods
public render(mouseDown: *) source
Params:
Name | Type | Attribute | Description |
mouseDown | * |
public snapOpX(_x: *, op: *, dist: *): * source
Params:
Name | Type | Attribute | Description |
_x | * | ||
op | * | ||
dist | * |
Return:
* |
public update() source
Private Methods
private _snapPortX(_x: *, port: *, index: *, dist: *): * source
Params:
Name | Type | Attribute | Description |
_x | * | ||
port | * | ||
index | * | ||
dist | * |
Return:
* |