Wednesday, April 14, 2010
JavaFX Effect Example
JavaFX Effect
This is a JavaFX logo that has a three-dimensional glowing effect.
Here is the code for the effect of “JavaFX” text:
effect: Glow {
level: .8
input: Lighting {
light: DistantLight {azimuth: -135}
surfaceScale: 3
diffuseConstant: 1.5
}
Glow and Lighting are subclasses of abstract base class javafx.scene.effect.Effect.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment