diff options
Diffstat (limited to 'src/fallTest/TButton.java')
-rw-r--r-- | src/fallTest/TButton.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/fallTest/TButton.java b/src/fallTest/TButton.java new file mode 100644 index 0000000..7859f03 --- /dev/null +++ b/src/fallTest/TButton.java @@ -0,0 +1,23 @@ +//glowing block of color c (jfx node) + +package fallTest; + +import javafx.scene.effect.BlurType; +import javafx.scene.effect.DropShadow; +import javafx.scene.paint.Color; +import javafx.scene.shape.Rectangle; + +public class TButton extends Rectangle +{ + public TButton(Color c, double a, double b, int r) + { + super(); + + super.setFill(c); + super.setWidth(a); + super.setHeight(b); + super.setArcHeight(r); + super.setArcWidth(r); + super.setStroke(Color.BLACK); + } +}
\ No newline at end of file |