Class BorderRadiusCorner
java.lang.Object
org.openpdf.css.style.BorderRadiusCorner
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BorderRadiusCorner.Lengthprivate final BorderRadiusCorner.Lengthstatic final BorderRadiusCorner -
Constructor Summary
ConstructorsConstructorDescriptionBorderRadiusCorner(float left, float right) BorderRadiusCorner(CSSName fromVal, CalculatedStyle style, CssContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionprivate BorderRadiusCorner.Lengthcalculate(CSSName fromVal, CalculatedStyle style, PropertyValue value, CssContext ctx) floatgetMaxLeft(float max) floatgetMaxRight(float max) booleanfloatleft()floatright()
-
Field Details
-
UNDEFINED
-
_left
-
_right
-
-
Constructor Details
-
BorderRadiusCorner
public BorderRadiusCorner(float left, float right) -
BorderRadiusCorner
-
-
Method Details
-
calculate
private BorderRadiusCorner.Length calculate(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()
-