public class NumberValue extends DerivedValue
| Constructor and Description |
|---|
NumberValue(CSSName cssName,
PropertyValue value) |
| Modifier and Type | Method and Description |
|---|---|
float |
asFloat() |
float |
getFloatProportionalTo(CSSName cssName,
float baseValue,
CssContext ctx) |
boolean |
hasAbsoluteUnit() |
asColor, asIdentValue, asString, asStringArray, getCssSacUnitType, getStringValue, isAbsoluteUnit, isDeclaredInherit, isDependentOnFontSize, isIdentpublic NumberValue(CSSName cssName, PropertyValue value)
public float asFloat()
asFloat in interface FSDerivedValueasFloat in class DerivedValuepublic float getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)
getFloatProportionalTo in interface FSDerivedValuegetFloatProportionalTo in class DerivedValuepublic boolean hasAbsoluteUnit()
hasAbsoluteUnit in interface FSDerivedValuehasAbsoluteUnit in class DerivedValueCopyright © 2020. All rights reserved.