public class BorderPropertySet extends RectPropertySet
Modifier and Type | Field and Description |
---|---|
static BorderPropertySet |
EMPTY_BORDER |
Constructor and Description |
---|
BorderPropertySet(BorderPropertySet border) |
BorderPropertySet(CollapsedBorderValue top,
CollapsedBorderValue right,
CollapsedBorderValue bottom,
CollapsedBorderValue left) |
BorderPropertySet(float top,
float right,
float bottom,
float left) |
BorderPropertySet(float top,
float right,
float bottom,
float left,
BorderRadiusCorner topLeftCorner,
BorderRadiusCorner topRightCorner,
BorderRadiusCorner bottomRightCorner,
BorderRadiusCorner bottomLeftCorner) |
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, BorderRadiusCorner topLeftCorner, BorderRadiusCorner topRightCorner, BorderRadiusCorner bottomRightCorner, BorderRadiusCorner bottomLeftCorner)
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 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()
public boolean hasBorderRadius()
public BorderRadiusCorner getBottomRight()
public void setBottomRight(BorderRadiusCorner bottomRight)
public BorderRadiusCorner getBottomLeft()
public void setBottomLeft(BorderRadiusCorner bottomLeft)
public BorderRadiusCorner getTopRight()
public void setTopRight(BorderRadiusCorner topRight)
public BorderRadiusCorner getTopLeft()
public void setTopLeft(BorderRadiusCorner topLeft)
public BorderPropertySet normalizedInstance(Rectangle bounds)
Copyright © 2017. All rights reserved.