Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Generated Object

javafx.scene.shape.QuadCurve

Attributes

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

Content

This node does not take any content.

Usage

Create an QuadCurve shape

Examples

Code Block
import groovyx.javafx.GroovyFX
import groovyx.javafx.SceneGraphBuilder

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

    sg.stage(
        title: "QuadCurve Example (Groovy)",
        width: 200, height:200,
        visible: true,
    ){ 
        scene (fill: white) {
            quadCurve(startX: 10, startY: 10,
                endX: 100, endY: 100,
                controlX: 75, controlY: 0,
                stroke: red, strokeWidth: 2, fill: null)
        }
    }
});