Package org.xhtmlrenderer.css.style
Class BorderRadiusCorner
java.lang.Object
org.xhtmlrenderer.css.style.BorderRadiusCorner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate float
private boolean
private float
private boolean
-
Constructor Summary
ConstructorsConstructorDescriptionBorderRadiusCorner
(float left, float right) BorderRadiusCorner
(CSSName fromVal, CalculatedStyle style, CssContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionfloat
getMaxLeft
(float max) float
getMaxRight
(float max) boolean
float
left()
float
right()
private void
setLeft
(CSSName fromVal, CalculatedStyle style, PropertyValue value, CssContext ctx) private void
setRight
(CSSName fromVal, CalculatedStyle style, PropertyValue value, CssContext ctx)
-
Field Details
-
_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()
-