GlLink
drawing gl links GlCable
Constructor Summary
| Public Constructor | ||
| public |
constructor(glpatch: GlPatch, link: Link, id: string, opIdInput: string, opIdOutput: string, portNameIn: string, portNameOut: string, portIdInput: string, portIdOutput: string, type: number, visible: boolean, subpatch: string | number) |
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
addedOrderListeners: boolean |
|
| public |
crossSubpatch: boolean |
|
| public get |
hovering: * |
|
| public get |
id: * |
|
| public get |
link: * |
|
| public get |
nameInput: * |
|
| public get |
nameOutput: * |
|
| public get |
opIdInput: * |
|
| public get |
opIdOutput: * |
|
| public get |
opIn: * |
|
| public get |
opOut: * |
|
| public get |
portIdIn: * |
|
| public get |
portIdOut: * |
|
| public get |
subPatch: * |
|
| public get |
type: * |
|
| public set |
visible(_v: boolean) |
|
| Private Members | ||
| private |
_activity: * |
|
| private |
_buttonDown: * |
|
| private |
_buttonDownTime: number |
|
| private |
|
|
| private |
_debugColor: boolean |
|
| private |
_id: * |
|
| private |
_mouseDownX: * |
|
| private |
_mouseDownY: * |
|
| private |
|
|
| private |
|
|
| private |
|
|
| private |
_opIdInput: * |
|
| private |
_opIdOutput: * |
|
| private |
_portIdInput: * |
|
| private |
|
|
| private |
|
|
| private |
|
|
| private |
|
|
| private |
_subPatch: * |
|
| private |
|
|
| private |
_subPatchOp: * |
|
| private |
|
|
| private |
_type: * |
|
| private |
|
|
| private |
|
|
| private |
|
|
| private |
|
|
| private |
|
|
| private |
log: * |
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
collideLine(x1: number, y1: number, x2: number, y2: number): * |
|
| public |
dispose() |
|
| public |
highlight(b: *) |
|
| public |
isAOpSelected(): boolean |
|
| public |
isAPortHovering(): boolean |
|
| public |
isInCurrentSubPatch(): boolean |
|
| public |
setFlowModeActivity(act: number, v: string | any[]) |
|
| public |
startDragging(e: *) |
|
| public |
unlink() |
|
| public |
update() |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
| Private Methods | ||
| private |
|
|
| private |
_singleValueToString(v: string | number): * |
|
| private |
|
|
Public Constructors
public constructor(glpatch: GlPatch, link: Link, id: string, opIdInput: string, opIdOutput: string, portNameIn: string, portNameOut: string, portIdInput: string, portIdOutput: string, type: number, visible: boolean, subpatch: string | number) source
Params:
| Name | Type | Attribute | Description |
| glpatch | GlPatch | ||
| link | Link | ||
| id | string | ||
| opIdInput | string | ||
| opIdOutput | string | ||
| portNameIn | string | ||
| portNameOut | string | ||
| portIdInput | string | ||
| portIdOutput | string | ||
| type | number | ||
| visible | boolean | ||
| subpatch | string | number |
Public Members
public : * source
public addedOrderListeners: boolean source
public crossSubpatch: boolean source
public get hovering: * source
public get id: * source
public get link: * source
public get nameInput: * source
public get nameOutput: * source
public get opIdInput: * source
public get opIdOutput: * source
public get opIn: * source
public get opOut: * source
public get portIdIn: * source
public get portIdOut: * source
public get subPatch: * source
public get type: * source
public set visible(_v: boolean) source
Private Members
private _activity: * source
private _buttonDown: * source
private _buttonDownTime: number source
private _debugColor: boolean source
private _id: * source
private _mouseDownX: * source
private _mouseDownY: * source
private _offsetXInput: * source
private _offsetXOutput: * source
private _oldHighlight: * source
private _opIdInput: * source
private _opIdOutput: * source
private _portIdInput: * source
private _portIdOutput: * source
private _portNameInput: * source
private _portNameOutput: * source
private _startDragEvent: * source
private _subPatch: * source
private _subPatchInputOp: * source
private _subPatchOp: * source
private _subPatchOutputOp: * source
private _type: * source
private log: * source
Public Methods
public cableHoverChanged() source
public collideLine(x1: number, y1: number, x2: number, y2: number): * source
Params:
| Name | Type | Attribute | Description |
| x1 | number | ||
| y1 | number | ||
| x2 | number | ||
| y2 | number |
Return:
| * |
public dispose() source
public highlight(b: *) source
Params:
| Name | Type | Attribute | Description |
| b | * |
public setFlowModeActivity(act: number, v: string | any[]) source
Params:
| Name | Type | Attribute | Description |
| act | number | ||
| v | string | any[] |
public startDragging(e: *) source
Params:
| Name | Type | Attribute | Description |
| e | * |
public unlink() source
public update() source
public updateColor() source
public updateLineStyle() source
public updateTheme() source
public updateVisible() source
Private Methods
private _initSubCables() source
private _singleValueToString(v: string | number): * source
Params:
| Name | Type | Attribute | Description |
| v | string | number |
Return:
| * |