Border is a class that decorates item's shape with border.
More...
Border is a class that decorates item's shape with border.
◆ Border() [1/2]
com.spvessel.spacevil.Decorations.Border.Border |
( |
| ) |
|
◆ Border() [2/2]
com.spvessel.spacevil.Decorations.Border.Border |
( |
Color |
fill, |
|
|
CornerRadius |
radius, |
|
|
int |
thickness |
|
) |
| |
Constructs a Border with specified color, radius and thickness.
- Parameters
-
◆ getFill()
Color com.spvessel.spacevil.Decorations.Border.getFill |
( |
| ) |
|
Getting the border color oa an item's shape.
- Returns
- Border color as java.awt.Color.
◆ getRadius()
CornerRadius com.spvessel.spacevil.Decorations.Border.getRadius |
( |
| ) |
|
◆ getThickness()
int com.spvessel.spacevil.Decorations.Border.getThickness |
( |
| ) |
|
Getting border thickness of an item's shape.
- Returns
- Border thickness.
◆ setFill()
void com.spvessel.spacevil.Decorations.Border.setFill |
( |
Color |
color | ) |
|
Setting the border color of an item's shape.
- Parameters
-
color | Border color as java.awt.Color. |
◆ setRadius()
void com.spvessel.spacevil.Decorations.Border.setRadius |
( |
CornerRadius |
value | ) |
|
Setting radius of the border's corners.
- Parameters
-
◆ setThickness()
void com.spvessel.spacevil.Decorations.Border.setThickness |
( |
int |
value | ) |
|
Setting border thickness of an item's shape.
- Parameters
-
◆ isVisible
boolean com.spvessel.spacevil.Decorations.Border.isVisible = false |
Propery that defines if border is visible.
The documentation for this class was generated from the following file: