Class NumberValue
java.lang.Object
com.openhtmltopdf.css.style.DerivedValue
com.openhtmltopdf.css.style.derived.NumberValue
- All Implemented Interfaces:
FSDerivedValue
public class NumberValue extends DerivedValue
-
Constructor Summary
Constructors Constructor Description NumberValue(CSSName cssName, PropertyValue value) -
Method Summary
Modifier and Type Method Description floatasFloat()floatgetFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)booleanhasAbsoluteUnit()Methods inherited from class com.openhtmltopdf.css.style.DerivedValue
asColor, asIdentValue, asString, asStringArray, getCssSacUnitType, getStringValue, isAbsoluteUnit, isDeclaredInherit, isDependentOnFontSize, isIdent
-
Constructor Details
-
NumberValue
-
-
Method Details
-
asFloat
public float asFloat()- Specified by:
asFloatin interfaceFSDerivedValue- Overrides:
asFloatin classDerivedValue
-
getFloatProportionalTo
- Specified by:
getFloatProportionalToin interfaceFSDerivedValue- Overrides:
getFloatProportionalToin classDerivedValue
-
hasAbsoluteUnit
public boolean hasAbsoluteUnit()- Specified by:
hasAbsoluteUnitin interfaceFSDerivedValue- Overrides:
hasAbsoluteUnitin classDerivedValue
-