Class BorderRadiusCorner
java.lang.Object
org.xhtmlrenderer.css.style.BorderRadiusCorner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate booleanprivate floatprivate booleanstatic final BorderRadiusCorner -
Constructor Summary
ConstructorsConstructorDescriptionBorderRadiusCorner(float left, float right) BorderRadiusCorner(CSSName fromVal, CalculatedStyle style, CssContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionfloatgetMaxLeft(float max) floatgetMaxRight(float max) booleanfloatleft()floatright()private voidsetLeft(CSSName fromVal, CalculatedStyle style, PropertyValue value, CssContext ctx) private voidsetRight(CSSName fromVal, CalculatedStyle style, PropertyValue value, CssContext ctx)
-
Field Details
-
UNDEFINED
-
_leftPercent
private boolean _leftPercent -
_rightPercent
private boolean _rightPercent -
_left
private float _left -
_right
private float _right
-
-
Constructor Details
-
BorderRadiusCorner
public BorderRadiusCorner() -
BorderRadiusCorner
public BorderRadiusCorner(float left, float right) -
BorderRadiusCorner
-
-
Method Details
-
setLeft
-
setRight
-
hasRadius
public boolean hasRadius() -
getMaxLeft
public float getMaxLeft(float max) -
getMaxRight
public float getMaxRight(float max) -
left
public float left() -
right
public float right()
-