Created
August 8, 2013 19:31
-
-
Save KowalczykBartek/6187882 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start { | |
stage(title: 'GroovyFX Hello World', visible: true) { | |
scene(fill: BLACK, width: 500, height: 250) { | |
hbox(padding: 60) { | |
text(text: 'Groovy', font: '80pt sanserif') { | |
fill linearGradient(endX: 0, stops: [PALEGREEN, SEAGREEN]) | |
} | |
text(text: 'FX', font: '80pt sanserif') { | |
fill linearGradient(endX: 0, stops: [CYAN, DODGERBLUE]) | |
effect dropShadow(color: DODGERBLUE, radius: 25, spread: 0.25) | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment