TlKeys
Extends:
gltl key rendering
Static Member Summary
| Static Public Members | ||
| public static |
|
|
| public static |
ZPOS_BEZIER: * |
|
| public static |
dragBezCp: * |
|
| public static |
dragStartX: * |
|
| public static |
dragStartY: * |
|
| public static |
dragStarted: * |
|
| public static |
|
|
| public static |
|
|
Constructor Summary
| Public Constructor | ||
| public |
constructor(glTl: GlTimeline, animLine: TlAnimLine, anim: Anim, parentRect: GlRect, port: Port, options: Object, idx: Number) |
|
Member Summary
| Public Members | ||
| public |
|
|
| public get |
anim: * |
|
| public |
|
|
| public |
click: boolean |
|
| public get |
height: * |
|
| public set |
hidden(b: boolean) |
|
| public get |
isReadonly: * |
|
| public |
sizeKey: * |
|
| public |
updTimeout: * |
|
| Private Members | ||
| private |
disposed: * |
|
| private |
|
|
| private |
|
|
| private |
idx: * |
|
| private |
initCount: * |
|
| private |
keyLookup: * |
|
| private |
|
|
| private |
listeners: EventListener[]} |
|
| private |
log: * |
|
| private |
needsUpdate: * |
|
| private |
options: * |
|
| private |
|
|
| private |
port: Port |
|
| private |
|
|
| private |
|
|
| private |
|
|
| private |
updateCount: * |
|
Method Summary
| Public Methods | ||
| public |
dispose() |
|
| public |
|
|
| public |
drawKeys(): boolean |
|
| public |
getDebug(): * |
|
| public |
getKeyColor(isSelected: boolean, hasSelectedKeys: boolean, hovering: boolean, readonly: boolean): * |
|
| public |
getKeyHeight(): * |
|
| public |
getKeyHeight2(): * |
|
| public |
getKeyWidth(): * |
|
| public |
getKeyWidth2(): * |
|
| public |
getNumSplinePoints(): * |
|
| public |
getSplineColor(hasSelectedKeys: boolean, outside: boolean, hovering: boolean, readonly: boolean): * |
|
| public |
hasSelectedKeys(): * |
|
| public |
init() |
|
| public |
isCurrentOp(): * |
|
| public |
isDragging(): * |
|
| public |
isLayoutGraph(): * |
|
| public |
render() |
|
| public |
reset() |
|
| public |
|
|
| public |
setKeyPositions(_reason: string) |
|
| public |
setKeyShapeSize(kr: GlRect, key: TlKey) |
|
| public |
|
|
| public |
shouldDrawSpline(): boolean |
|
| public |
showKeysAsFrames(): boolean |
|
| public |
testSelectRectKey(key: AnimKey, kr: GlRect): boolean |
|
| public |
|
|
| public |
update(): * |
|
| public |
|
|
| public |
|
|
| Private Methods | ||
| private |
|
|
Static Public Members
public static : * source
public static ZPOS_BEZIER: * source
public static dragBezCp: * source
public static dragStartX: * source
public static dragStartY: * source
public static dragStarted: * source
public static startDragTime: * source
public static startDragValue: * source
Public Constructors
public constructor(glTl: GlTimeline, animLine: TlAnimLine, anim: Anim, parentRect: GlRect, port: Port, options: Object, idx: Number) source
Params:
| Name | Type | Attribute | Description |
| glTl | GlTimeline | ||
| animLine | TlAnimLine | ||
| anim | Anim | ||
| parentRect | GlRect | ||
| port | Port | ||
| options | Object | ||
| idx | Number |
Public Members
public : * source
public get anim: * source
public animLine: TlAnimLine source
public click: boolean source
public get height: * source
public set hidden(b: boolean) source
public get isReadonly: * source
public sizeKey: * source
public updTimeout: * source
Private Members
private disposed: * source
private disposedWarning: * source
private glTl: GlTimeline source
private idx: * source
private initCount: * source
private keyLookup: * source
private listeners: EventListener[]} source
private log: * source
private needsUpdate: * source
private options: * source
private port: Port source
private updateCount: * source
Public Methods
public dispose() source
public disposeSplines() source
public getKeyColor(isSelected: boolean, hasSelectedKeys: boolean, hovering: boolean, readonly: boolean): * source
Params:
| Name | Type | Attribute | Description |
| isSelected | boolean | ||
| hasSelectedKeys | boolean | ||
| hovering | boolean | ||
| readonly | boolean |
Return:
| * |
public getSplineColor(hasSelectedKeys: boolean, outside: boolean, hovering: boolean, readonly: boolean): * source
Params:
| Name | Type | Attribute | Description |
| hasSelectedKeys | boolean | ||
| outside | boolean | ||
| hovering | boolean | ||
| readonly | boolean |
Return:
| * |
public init() source
public render() source
public reset() source
public selectAll() source
public setKeyPositions(_reason: string) source
Params:
| Name | Type | Attribute | Description |
| _reason | string |
|
public testSelectRectKey(key: AnimKey, kr: GlRect): boolean source
Params:
| Name | Type | Attribute | Description |
| key | AnimKey | ||
| kr | GlRect |
Return:
| boolean |