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
Operations/Functions
- protected onSizeToFitCanvas(value: Boolean)
- public setSize(width: Number, height: Number)
- Sets the size of this element to (width, height).