public class FontSizeResolveHandler extends ConstantsResolveHandler
Constructor and Description |
---|
FontSizeResolveHandler() |
Modifier and Type | Method and Description |
---|---|
double |
getScaleLargerFactor(double parentSize) |
double |
getScaleSmallerFactor(double parentSize) |
void |
resolve(DocumentContext process,
LayoutElement currentNode,
StyleKey key)
Resolves a single property.
|
addNormalizeValue, addValue, getFallback, getRequiredStyles, lookupValue, resolveValue, setFallback
public void resolve(DocumentContext process, LayoutElement currentNode, StyleKey key)
ResolveHandler
resolve
in interface ResolveHandler
resolve
in class ConstantsResolveHandler
process
- the current layout process controlling everytingcurrentNode
- the current layout element that is processedkey
- the style key that is computed.public double getScaleLargerFactor(double parentSize)
public double getScaleSmallerFactor(double parentSize)
Copyright © 2020 Hitachi Vantara. All rights reserved.