public class NumberValue extends DerivedValue
| 构造器和说明 |
|---|
NumberValue(CSSName cssName,
PropertyValue value) |
| 限定符和类型 | 方法和说明 |
|---|---|
float |
asFloat() |
float |
getFloatProportionalTo(CSSName cssName,
float baseValue,
CssContext ctx) |
boolean |
hasAbsoluteUnit() |
asColor, asIdentValue, asString, asStringArray, getCSSPrimitiveValue, getCssSacUnitType, getStringValue, isAbsoluteUnit, isDeclaredInherit, isDependentOnFontSize, isIdentpublic NumberValue(CSSName cssName, PropertyValue value)
public float asFloat()
asFloat 在接口中 FSDerivedValueasFloat 在类中 DerivedValuepublic float getFloatProportionalTo(CSSName cssName, float baseValue, CssContext ctx)
getFloatProportionalTo 在接口中 FSDerivedValuegetFloatProportionalTo 在类中 DerivedValuepublic boolean hasAbsoluteUnit()
hasAbsoluteUnit 在接口中 FSDerivedValuehasAbsoluteUnit 在类中 DerivedValueCopyright © 2019. All Rights Reserved.