Class: oDrawingLayer

$. oDrawingLayer

The $.oDrawingLayer class represents a timeline layer corresponding to a 'READ' node (or Drawing in Toonboom UI) from the scene.

new $.oDrawingLayer(oTimelineObject, layerIndex)

openHarmony/openHarmony_timeline.js, line 268
Constructor for $.oDrawingLayer class
Name Type Description
oTimelineObject oTimeline The timeline associated to this layer.
layerIndex int The index of the layer on the timeline.
Properties:
Name Type Description
index int The index of the layer on the timeline.
timeline oTimeline The timeline associated to this layer.
node oNode The node associated to the layer.

Extends

Members

layerIndexint

The layer index when ignoring subLayers.

namestring

The name of this layer/node.

node$.oNode

The node associated to the layer.

parent$.oLayer

the parent layer for this layer in the timeline. Returns the root group if layer is top level.

selectedbool

wether or not the layer is selected.

subLayersArray.<$.oColumnLayer>

The column layers associated with this node.