javafx.ui.canvas

SizeableCanvasElement

Extends: CanvasElement

Interface for rectangular elements which can be sized by their height and width.

Attributes

public sizeToFitCanvas: Boolean
If true this element will be sized to the dimensions of its containing canvas

Attributes Inherited from javafx.ui.canvas.CanvasElement

parentCanvasElement

Operations/Functions

protected onSizeToFitCanvas(value: Boolean)
public setSize(width: Number, height: Number)
Sets the size of this element to (width, height).

Operations/Functions Inherited from javafx.ui.canvas.CanvasElement

getCanvas, getContainer, hasParent, lower, onSetCanvas, raise, toBack, toFront