Generated Object

javafx.scene.transform.Scale

Attributes

This node takes the attributes of the javafx.scene.transform.Scale class, see javafx.scene.transform.Scale

Content

This node has no content

Usage

Defines a scale transform that may be applied to a JavaFX node.

Examples

GroovyFX.start({ primaryStage -> 
    def sg = new SceneGraphBuilder(primaryStage);

    sg.stage(
        title: "CircleT3D (Groovy)",
        width: 400, height:300,
        visible: true,
        resizable: true
    ) {
         scene(fill: lightgreen, camera: new PerspectiveCamera()) {
             circle(centerX: 200, centerY: 150, radius: 75, fill: blue) {
                scale(x: 1.2)
             }
         }
    }
})