Appearance
Overlay 
Type: object
The layer object containing its properties (overloaded for handling transformed elements).
Properties
- destroy 
() => OverlayDestroy the layer (remove it from the layer array, remove its listeners). - element 
HTMLElementHTML element used by the layer. - getLevel 
() => numberRetrieves the index of the layer in the layer array. - getOpacity 
() => numberGet the layer opacity, between 0 and 1. - hide 
() => OverlayKeep the layer in the layer array but hide its content. - isHidden 
() => booleanCheck the layer visibility. - moveDown 
() => OverlayTake the layer down a notch (decreases its index by 1). - moveTo 
(depth: number) => OverlayMove the layer to the specified index in the layer array. - moveToBottom 
() => OverlayMove the layer at the very bottom of the array (index0). - moveToTop 
() => OverlayMove the layer at the very top of the array (indexlength - 1). - moveUp 
() => OverlayTake the layer up a notch (increases its index by 1). - setOpacity 
(opacity: number) => OverlaySet the layer opacity. - setPosition 
(position: {x: number, y: number}) => OverlaySetter setting the element translation in the graph space. - setSize 
(size: {width: number, height: number}) => OverlaySetter setting the element size in the graph space. - show 
() => OverlayShow the layer content.