Class BorderPropertySet
java.lang.Object
com.openhtmltopdf.css.style.derived.RectPropertySet
com.openhtmltopdf.css.style.derived.BorderPropertySet
public class BorderPropertySet extends RectPropertySet
Created by IntelliJ IDEA.
User: patrick
Date: Oct 21, 2005
Time: 3:24:04 PM
To change this template use File | Settings | File Templates.
-
Field Summary
Fields Modifier and Type Field Description static BorderPropertySetEMPTY_BORDER -
Constructor Summary
Constructors Constructor Description 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)BorderPropertySet(BorderPropertySet border)BorderPropertySet(CollapsedBorderValue top, CollapsedBorderValue right, CollapsedBorderValue bottom, CollapsedBorderValue left) -
Method Summary
Methods inherited from class com.openhtmltopdf.css.style.derived.RectPropertySet
bottom, copyOf, getLeftRightDiff, hasNegativeValues, height, isAllZeros, left, newInstance, resetNegativeValues, right, setBottom, setLeft, setRight, setTop, top, width
-
Field Details
-
Constructor Details
-
BorderPropertySet
-
BorderPropertySet
public BorderPropertySet(float top, float right, float bottom, float left, BorderRadiusCorner topLeftCorner, BorderRadiusCorner topRightCorner, BorderRadiusCorner bottomRightCorner, BorderRadiusCorner bottomLeftCorner) -
BorderPropertySet
public BorderPropertySet(float top, float right, float bottom, float left) -
BorderPropertySet
public BorderPropertySet(CollapsedBorderValue top, CollapsedBorderValue right, CollapsedBorderValue bottom, CollapsedBorderValue left)
-
-
Method Details
-
lighten
Returns the colors for brighter parts of each side for a particular decoration style- Parameters:
style-- Returns:
- Returns
-
darken
Returns the colors for brighter parts of each side for a particular decoration style- Parameters:
style-- Returns:
- Returns
-
newInstance
-
toString
- Overrides:
toStringin classRectPropertySet
-
noTop
public boolean noTop() -
noRight
public boolean noRight() -
noBottom
public boolean noBottom() -
noLeft
public boolean noLeft() -
topStyle
-
rightStyle
-
bottomStyle
-
leftStyle
-
topColor
-
rightColor
-
bottomColor
-
leftColor
-
hasHidden
public boolean hasHidden() -
hasBorderRadius
public boolean hasBorderRadius() -
getBottomRight
-
setBottomRight
-
getBottomLeft
-
setBottomLeft
-
getTopRight
-
setTopRight
-
getTopLeft
-
setTopLeft
-
normalizedInstance
-