Overview
Abstract interface of objects that appear in a canvas.
Attribute Summary
name | type | description |
---|---|---|
Public | ||
parentCanvasElement | CanvasElement |
The containing element of this element. |
Protected |
Inherited Attributes
Function Summary
- public getCanvas() : Canvas
-
Convenience method to obtain the containing canvas.
- public bound getContainer() : Container
-
Returns the canvas element that contains this element
- public bound hasParent() : Boolean
- public lower() : Void
-
raise this element below its previous sibling
- protected onSetCanvas(canvas: Canvas, ) : Void
- public raise() : Void
-
raise this element above its next sibling
- public toBack() : Void
-
move this element before all of its previous siblings
- public toFront() : Void
-
move this element after all of its following siblings
Inherited Functions
Attributes
public parentCanvasElement: CanvasElement
The containing element of this element.
Functions
public bound getContainer():Container
-
Returns
- Container
Returns the canvas element that contains this element
public lower():Void
raise this element below its previous sibling
public raise():Void
raise this element above its next sibling
public toBack():Void
move this element before all of its previous siblings
public toFront():Void
move this element after all of its following siblings