org.jfree.layouting.layouter.style
Class CSSValueResolverUtility
java.lang.Object
org.jfree.layouting.layouter.style.CSSValueResolverUtility
public class CSSValueResolverUtility
extends java.lang.Object
Creation-Date: 15.12.2005, 11:29:22
DEFAULT_X_HEIGHT_FACTOR
public static final double DEFAULT_X_HEIGHT_FACTOR
convertLengthToDouble
public static double convertLengthToDouble(CSSValue rawValue)
double convertLengthToDouble
public static strictfp double convertLengthToDouble(CSSValue rawValue,
LayoutContext context,
OutputProcessorMetaData metaData)
Returns the length in point as a double primitive value.
Be aware that using double-values is not very accurate.
rawValue
- context
- metaData
-
getNumericValue
public static double getNumericValue(CSSValue value,
double defaultValue)
isAbsoluteValue
public static boolean isAbsoluteValue(CSSNumericValue value)
isURI
public static boolean isURI(CSSValue value)
long convertLengthToLong
public static strictfp long convertLengthToLong(CSSValue rawValue,
LayoutContext context,
OutputProcessorMetaData metaData)
Returns the length in point as a double primitive value.
rawValue
- context
- metaData
-