public class BorderPropertySet extends RectPropertySet
Modifier and Type | Field and Description |
---|---|
static BorderPropertySet |
EMPTY_BORDER |
ALL_ZEROS
Constructor and Description |
---|
BorderPropertySet(BorderPropertySet border) |
BorderPropertySet(CollapsedBorderValue top,
CollapsedBorderValue right,
CollapsedBorderValue bottom,
CollapsedBorderValue left) |
BorderPropertySet(float top,
float right,
float bottom,
float left) |
Modifier and Type | Method and Description |
---|---|
FSColor |
bottomColor() |
IdentValue |
bottomStyle() |
BorderPropertySet |
darken(IdentValue style)
Returns the colors for brighter parts of each side for a particular decoration style
|
boolean |
hasHidden() |
FSColor |
leftColor() |
IdentValue |
leftStyle() |
BorderPropertySet |
lighten(IdentValue style)
Returns the colors for brighter parts of each side for a particular decoration style
|
static BorderPropertySet |
newInstance(CalculatedStyle style,
CssContext ctx) |
boolean |
noBottom() |
boolean |
noLeft() |
boolean |
noRight() |
boolean |
noTop() |
FSColor |
rightColor() |
IdentValue |
rightStyle() |
FSColor |
topColor() |
IdentValue |
topStyle() |
java.lang.String |
toString() |
bottom, copyOf, getLeftRightDiff, hasNegativeValues, height, isAllZeros, left, newInstance, resetNegativeValues, right, setBottom, setLeft, setRight, setTop, top, width
public static final BorderPropertySet EMPTY_BORDER
public BorderPropertySet(BorderPropertySet border)
public BorderPropertySet(float top, float right, float bottom, float left)
public BorderPropertySet(CollapsedBorderValue top, CollapsedBorderValue right, CollapsedBorderValue bottom, CollapsedBorderValue left)
public BorderPropertySet lighten(IdentValue style)
style
- public BorderPropertySet darken(IdentValue style)
style
- public static BorderPropertySet newInstance(CalculatedStyle style, CssContext ctx)
public java.lang.String toString()
toString
in class RectPropertySet
public boolean noTop()
public boolean noRight()
public boolean noBottom()
public boolean noLeft()
public IdentValue topStyle()
public IdentValue rightStyle()
public IdentValue bottomStyle()
public IdentValue leftStyle()
public FSColor topColor()
public FSColor rightColor()
public FSColor bottomColor()
public FSColor leftColor()
public boolean hasHidden()