Example usage for javafx.scene.effect InnerShadow setWidth

List of usage examples for javafx.scene.effect InnerShadow setWidth

Introduction

In this page you can find the example usage for javafx.scene.effect InnerShadow setWidth.

Prototype

public final void setWidth(double value) 

Source Link

Usage

From source file:jduagui.Controller.java

private void turnOn(InnerShadow img) {
    img.setHeight(lightOn);
    img.setWidth(lightOn);
}

From source file:jduagui.Controller.java

private void turnOff(InnerShadow img) {
    img.setHeight(lightOff);
    img.setWidth(lightOff);
}