public final class CssBackgroundUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CssBackgroundUtils.BackgroundPropertyType |
Modifier and Type | Method and Description |
---|---|
static String |
getBackgroundPropertyNameFromType(CssBackgroundUtils.BackgroundPropertyType propertyType)
Gets background property name corresponding to its type.
|
static BackgroundRepeat.BackgroundRepeatValue |
parseBackgroundRepeat(String value)
Parses the background repeat string value.
|
static CssBackgroundUtils.BackgroundPropertyType |
resolveBackgroundPropertyType(String value)
Resolves the background property type using it's value.
|
public static BackgroundRepeat.BackgroundRepeatValue parseBackgroundRepeat(String value)
value
- the string which stores the background repeat value
BackgroundRepeat.BackgroundRepeatValue
instance
public static String getBackgroundPropertyNameFromType(CssBackgroundUtils.BackgroundPropertyType propertyType)
propertyType
- background property type
public static CssBackgroundUtils.BackgroundPropertyType resolveBackgroundPropertyType(String value)
value
- the value
Copyright © 1998–2021 iText Group NV. All rights reserved.