Fandom

Planet JFX

JFX Logo - mwoodman

118pages on
this wiki
Add New Page
Talk0 Share

Render Edit

Jfxlogo-woodman

Code Edit

import javafx.ui.filter.*;
import javafx.ui.canvas.*;
import javafx.ui.*;

Canvas {
    content: [
    Circle {
        opacity: 1
        transform: translate(75, 75)
        radius: 72
        stroke: black
        strokeWidth: 3
        fill: RadialGradient {
            cx: 45, cy: 55, focusX: 75, focusY: 75
            radius: 100
            stops:
            [Stop {
                offset: 0.0
                color: grey
            },
            Stop {
                offset: 0.8
                color: darkred
            }]
            spreadMethod: REFLECT
        }
    },
    Clip {
        filter: [ShadowFilter {
            distance: 8
            angle: 10
            opacity: .8
            shadowColor: blue
        },]
        shape: Text {
            x: 15, 
            y: 55, 
            font: new Font("Verdana", "BOLD", 60),
            content: "JFX" 
        }
        content: Circle {
            transform: translate(75, 75)
            radius: 74
            fill: RadialGradient {
                cx: 150, cy: 150, focusX: 150, focusY: 40
                radius: 100
                stops:
                [Stop {
                    offset: 0.0
                    color: white
                },
                Stop {
                    offset: 1.0
                    color: lightblue
                }]
                spreadMethod: REFLECT
            }
        }
    },
    Text {
        x: 30, 
        y: 32, 
        font: new Font("Verdana", "PLAIN", 20),
        content: "P l a n e t" 
        fill: white
    },
    Text {
        x: 30, 
        y: 110, 
        font: new Font("Verdana", "BOLD", 12),
        content: "jfx.wikia.com" 
        fill: white
    }
    
    ]
}


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki