Generated Object

javafx.scene.shape.Circle

Attributes

This node takes the attributes from the javafx.scene.shape.Circle class. see javafx.scene.shape.Circle.

Content

This node does not take any content.

Usage

Create an Circle shape

Examples

import groovyx.javafx.GroovyFX
import groovyx.javafx.SceneGraphBuilder

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

    sg.stage(
        title: "Circle Example (Groovy)",
        width: 200, height:200,
        visible: true,
    ){ 
        scene (fill: white) {
            circle(centerX: 100, centerY: 100,
                radius: 50, fill: red)
        }
    }
});