public class OutlineApplierUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
applyOutlines(Map<String,String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element)
Applies outlines to an element.
|
static com.itextpdf.layout.borders.Border |
getCertainBorder(String outlineWidth, String outlineStyle, String outlineColor, float em, float rem)
Creates a Border instance based on specific properties.
|
public static void applyOutlines(Map<String,String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element)
cssProps
- the CSS properties
context
- the Processor context
element
- the element
public static com.itextpdf.layout.borders.Border getCertainBorder(String outlineWidth, String outlineStyle, String outlineColor, float em, float rem)
Border
instance based on specific properties.
outlineWidth
- the outline width
outlineStyle
- the outline style
outlineColor
- the outline color
em
- the em value
rem
- the root em value
Copyright © 1998–2019 iText Group NV. All rights reserved.