Package com.openhtmltopdf.css.style
Class BorderRadiusCorner
- java.lang.Object
-
- com.openhtmltopdf.css.style.BorderRadiusCorner
-
public class BorderRadiusCorner extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private float_leftprivate boolean_leftPercentprivate float_rightprivate boolean_rightPercent
-
Constructor Summary
Constructors Constructor Description BorderRadiusCorner()BorderRadiusCorner(float left, float right)BorderRadiusCorner(CSSName fromVal, CalculatedStyle style, CssContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetMaxLeft(float max)floatgetMaxRight(float max)booleanhasRadius()floatleft()floatright()private voidsetLeft(CSSName fromVal, CalculatedStyle style, PropertyValue value, CssContext ctx)private voidsetRight(CSSName fromVal, CalculatedStyle style, PropertyValue value, CssContext ctx)
-
-
-
Constructor Detail
-
BorderRadiusCorner
public BorderRadiusCorner()
-
BorderRadiusCorner
public BorderRadiusCorner(float left, float right)
-
BorderRadiusCorner
public BorderRadiusCorner(CSSName fromVal, CalculatedStyle style, CssContext ctx)
-
-
Method Detail
-
setLeft
private void setLeft(CSSName fromVal, CalculatedStyle style, PropertyValue value, CssContext ctx)
-
setRight
private void setRight(CSSName fromVal, CalculatedStyle style, PropertyValue value, CssContext ctx)
-
hasRadius
public boolean hasRadius()
-
getMaxLeft
public float getMaxLeft(float max)
-
getMaxRight
public float getMaxRight(float max)
-
left
public float left()
-
right
public float right()
-
-