aboutsummaryrefslogtreecommitdiff
path: root/src/fallTest/TButton.java
blob: 7859f03af9792bc443268ca1e6e0010da6035616 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
    }
}