javafx.ui.canvas

CanvasElement

Abstract interface of objects that appear in a canvas.

Attributes

protected parentCanvasElement: CanvasElement?
The containing element of this element.

Operations/Functions

protected getCanvas(): Canvas
Convenience method to obtain the containing canvas.
public getContainer(): Container
Returns the canvas element that contains this element
public hasParent(): Boolean
public lower()
raise this element below its previous sibling
protected onSetCanvas(canvas: Canvas)
public raise()
raise this element above its next sibling
public toBack()
move this element before all of its previous siblings
public toFront()
move this element after all of its following siblings