7#ifndef CORE_FXCRT_CSS_CFX_CSSNUMBERVALUE_H_
8#define CORE_FXCRT_CSS_CFX_CSSNUMBERVALUE_H_
10#include "core/fxcrt/css/cfx_cssvalue.h"
31 float value()
const {
return value_; }
32 float Apply(
float percentBase)
const;
static const Property * GetPropertyByEnum(CFX_CSSProperty property)
static const Color * GetColorByName(WideStringView wsName)
static const LengthUnit * GetLengthUnitByName(WideStringView wsName)
static const Property * GetPropertyByName(WideStringView name)
static const PropertyValue * GetPropertyValueByName(WideStringView wsName)
CFX_CSSNumberValue(Unit unit, float value)
float Apply(float percentBase) const
~CFX_CSSNumberValue() override
CFX_CSSNumberValue::Unit type
CFX_CSSPropertyValue eName
CFX_CSSValueTypeMask dwTypes