public final class SvgCssUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
convertDoubleToString(double value)
Converts a double to a String.
|
static String |
convertFloatToString(float value)
Converts a float to a String.
|
static double |
convertPtsToPx(double pts)
Convert given point value to a pixel value.
|
static float |
convertPtsToPx(float pts)
Convert given point value to a pixel value.
|
static boolean |
isStyleSheetLink(IElementNode headChildElement)
Checks if an IElementNode represents a style sheet link.
|
static List<String> |
splitValueList(String value)
Splits a given String into a list of substrings.
|
public static List<String> splitValueList(String value)
value
- the string to be split
public static String convertFloatToString(float value)
value
- to be converted float value
public static String convertDoubleToString(double value)
value
- to be converted double value
public static float convertPtsToPx(float pts)
pts
- float value to be converted to pixels
public static double convertPtsToPx(double pts)
pts
- double value to be converted to pixels
public static boolean isStyleSheetLink(IElementNode headChildElement)
IElementNode
represents a style sheet link.
headChildElement
- the head child element
Copyright © 1998–2020 iText Group NV. All rights reserved.