- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBackgrounds.java
More file actions
Latest commit
38 lines (34 loc) · 1.71 KB
/
Copy pathBackgrounds.java
File metadata and controls
38 lines (34 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
packageocr3;
importjavafx.geometry.Insets;
importjavafx.scene.layout.Background;
importjavafx.scene.layout.BackgroundFill;
importjavafx.scene.layout.CornerRadii;
importjavafx.scene.paint.Color;
/**
*
* @author gsb
*/
publicclassBackgrounds {
//Backgrounds
BackgroundFillbgFill = newBackgroundFill(Color.SNOW, newCornerRadii(1), newInsets(1));
BackgroundFillbgFill2 = newBackgroundFill(Color.SANDYBROWN,newCornerRadii(1), newInsets(1));
BackgroundFillbgFillWhite = newBackgroundFill(Color.FLORALWHITE,newCornerRadii(1), newInsets(1));
BackgroundFillbgFillRed = newBackgroundFill(Color.RED,newCornerRadii(1), newInsets(1));
BackgroundFillbgFillGrey = newBackgroundFill(Color.GREY,newCornerRadii(1), newInsets(1));
BackgroundFillbgFillLightBlue = newBackgroundFill(Color.LIGHTBLUE,newCornerRadii(1), newInsets(1));
BackgroundFillbgFillAliceBlue = newBackgroundFill(Color.ALICEBLUE,newCornerRadii(1), newInsets(1));
BackgroundFillbgFillLightSteelBlue = newBackgroundFill(Color.LIGHTSTEELBLUE,newCornerRadii(1), newInsets(1));
BackgroundbgSnow = newBackground(bgFill);
BackgroundbgSandyBrown = newBackground(bgFill2);
BackgroundbgWhite = newBackground(bgFillWhite);
BackgroundbgRed = newBackground(bgFillRed);
BackgroundbgGrey = newBackground(bgFillGrey);
BackgroundbgAliceBlue = newBackground(bgFillAliceBlue);
BackgroundbgLightSteelBlue = newBackground(bgFillLightSteelBlue);
BackgroundbgLightBlue = newBackground(bgFillLightBlue);
}