Package javafx.scene.effect

Examples of javafx.scene.effect.Glow


    this.indicatorPointDistance = 12d * this.sizeScale;
    this.dialNumberOfSides = dialNumberOfSides < 0 ? 24 : dialNumberOfSides;
    this.dialCenterOuterRadius = dialCenterOuterRadius <= 0 ?
        this.indicatorType == IndicatorType.KNOB ? this.innerRadius / 2.5d : this.innerRadius / 17d : dialCenterOuterRadius;
    this.dialCenterBackgroundRadius = (this.innerRadius / 17d) * 4.5d;
    this.indicatorMoveEffect = new Glow(0);
    this.tickValueFont = tickValueFont == null ? Font.font(FONT_NAME, 17d * sizeScale) : tickValueFont;
   
    final double defaultAngle = getTickValue(getViewingStartAngle()) <= getTickValue(getViewingEndAngle()) ?
        getViewingStartAngle() : getViewingEndAngle();
    this.angleProperty = new SimpleDoubleProperty(defaultAngle) {
View Full Code Here


  /**
   * @return the default effect for a segment when it's on
   */
  public static Effect createDefaultOnEffect(final double scale) {
    final Glow onEffect = new Glow(1.7f * scale);
    onEffect.setInput(createDefaultOffEffect(scale));
    return onEffect;
  }
View Full Code Here

        control.selectedProperty().addListener(
                (ObservableValue<? extends Boolean> ov, Boolean oldValue, Boolean newValue) -> {
            if (newValue) {
                DropShadow shadow = new DropShadow(20, Color.WHITE);
                Glow effect = new Glow(0.5);
//                    shadow.setInput(effect);
                control.setEffect(effect);
            } else {
                control.setEffect(null);
            }
View Full Code Here

        control.selectedProperty().addListener(
                (ObservableValue<? extends Boolean> ov, Boolean oldValue, Boolean newValue) -> {
            if (newValue) {
                DropShadow shadow = new DropShadow(20, Color.WHITE);
                Glow effect = new Glow(0.5);
//                    shadow.setInput(effect);
                control.setEffect(effect);
            } else {
                control.setEffect(null);
            }
View Full Code Here

TOP

Related Classes of javafx.scene.effect.Glow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.