39
39
*
40
40
* @since JavaFX 8.0
41
41
*/
42
- public class CornerRadii implements Interpolatable <CornerRadii > {
42
+ public final class CornerRadii implements Interpolatable <CornerRadii > {
43
43
/**
44
44
* A CornerRadii which is entirely empty, indicating squared corners.
45
45
* This is the default value for a BorderStroke's radii.
@@ -58,7 +58,7 @@ public class CornerRadii implements Interpolatable<CornerRadii> {
58
58
* <a href="../../animation/Interpolatable.html#discrete">discrete</a> otherwise
59
59
*/
60
60
public final double getTopLeftHorizontalRadius () { return topLeftHorizontalRadius ; }
61
- private double topLeftHorizontalRadius ;
61
+ private final double topLeftHorizontalRadius ;
62
62
63
63
/**
64
64
* The length of the vertical radii of the top-left corner.
@@ -69,7 +69,7 @@ public class CornerRadii implements Interpolatable<CornerRadii> {
69
69
* <a href="../../animation/Interpolatable.html#discrete">discrete</a> otherwise
70
70
*/
71
71
public final double getTopLeftVerticalRadius () { return topLeftVerticalRadius ; }
72
- private double topLeftVerticalRadius ;
72
+ private final double topLeftVerticalRadius ;
73
73
74
74
/**
75
75
* The length of the vertical radii of the top-right corner.
@@ -80,7 +80,7 @@ public class CornerRadii implements Interpolatable<CornerRadii> {
80
80
* <a href="../../animation/Interpolatable.html#discrete">discrete</a> otherwise
81
81
*/
82
82
public final double getTopRightVerticalRadius () { return topRightVerticalRadius ; }
83
- private double topRightVerticalRadius ;
83
+ private final double topRightVerticalRadius ;
84
84
85
85
/**
86
86
* The length of the horizontal radii of the top-right corner.
@@ -91,7 +91,7 @@ public class CornerRadii implements Interpolatable<CornerRadii> {
91
91
* <a href="../../animation/Interpolatable.html#discrete">discrete</a> otherwise
92
92
*/
93
93
public final double getTopRightHorizontalRadius () { return topRightHorizontalRadius ; }
94
- private double topRightHorizontalRadius ;
94
+ private final double topRightHorizontalRadius ;
95
95
96
96
/**
97
97
* The length of the horizontal radii of the bottom-right corner.
@@ -102,7 +102,7 @@ public class CornerRadii implements Interpolatable<CornerRadii> {
102
102
* <a href="../../animation/Interpolatable.html#discrete">discrete</a> otherwise
103
103
*/
104
104
public final double getBottomRightHorizontalRadius () { return bottomRightHorizontalRadius ; }
105
- private double bottomRightHorizontalRadius ;
105
+ private final double bottomRightHorizontalRadius ;
106
106
107
107
/**
108
108
* The length of the vertical radii of the bottom-right corner.
@@ -113,7 +113,7 @@ public class CornerRadii implements Interpolatable<CornerRadii> {
113
113
* <a href="../../animation/Interpolatable.html#discrete">discrete</a> otherwise
114
114
*/
115
115
public final double getBottomRightVerticalRadius () { return bottomRightVerticalRadius ; }
116
- private double bottomRightVerticalRadius ;
116
+ private final double bottomRightVerticalRadius ;
117
117
118
118
/**
119
119
* The length of the vertical radii of the bottom-left corner.
@@ -124,7 +124,7 @@ public class CornerRadii implements Interpolatable<CornerRadii> {
124
124
* <a href="../../animation/Interpolatable.html#discrete">discrete</a> otherwise
125
125
*/
126
126
public final double getBottomLeftVerticalRadius () { return bottomLeftVerticalRadius ; }
127
- private double bottomLeftVerticalRadius ;
127
+ private final double bottomLeftVerticalRadius ;
128
128
129
129
/**
130
130
* The length of the horizontal radii of the bottom-left corner.
@@ -135,7 +135,7 @@ public class CornerRadii implements Interpolatable<CornerRadii> {
135
135
* <a href="../../animation/Interpolatable.html#discrete">discrete</a> otherwise
136
136
*/
137
137
public final double getBottomLeftHorizontalRadius () { return bottomLeftHorizontalRadius ; }
138
- private double bottomLeftHorizontalRadius ;
138
+ private final double bottomLeftHorizontalRadius ;
139
139
140
140
/**
141
141
* Indicates whether {@code topLeftHorizontalRadius} is interpreted as a value or a percentage.
0 commit comments