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
_left
private boolean
_leftPercent
private float
_right
private 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 float
getMaxLeft(float max)
float
getMaxRight(float max)
boolean
hasRadius()
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)
-
-
-
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()
-
-