Class MetaBrush
java.lang.Object
com.itextpdf.kernel.pdf.canvas.wmf.MetaObject
com.itextpdf.kernel.pdf.canvas.wmf.MetaBrush
A Brush bject that holds information about the style, the hatch and the color of
the brush.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final int(package private) Color(package private) intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int(package private) intFields inherited from class MetaObject
META_BRUSH, META_FONT, META_NOT_SUPPORTED, META_PEN -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class MetaObject
getType
-
Field Details
-
BS_SOLID
public static final int BS_SOLID- See Also:
-
BS_NULL
public static final int BS_NULL- See Also:
-
BS_HATCHED
public static final int BS_HATCHED- See Also:
-
BS_PATTERN
public static final int BS_PATTERN- See Also:
-
BS_DIBPATTERN
public static final int BS_DIBPATTERN- See Also:
-
HS_HORIZONTAL
public static final int HS_HORIZONTAL- See Also:
-
HS_VERTICAL
public static final int HS_VERTICAL- See Also:
-
HS_FDIAGONAL
public static final int HS_FDIAGONAL- See Also:
-
HS_BDIAGONAL
public static final int HS_BDIAGONAL- See Also:
-
HS_CROSS
public static final int HS_CROSS- See Also:
-
HS_DIAGCROSS
public static final int HS_DIAGCROSS- See Also:
-
style
int style -
hatch
int hatch -
color
Color color
-
-
Constructor Details
-
MetaBrush
public MetaBrush()Creates a MetaBrush object.
-
-
Method Details
-
init
Initializes this MetaBrush object.- Parameters:
in- the InputMeta- Throws:
IOException- anIOException
-
getStyle
public int getStyle()Get the style of the MetaBrush.- Returns:
- style of the brush
-
getHatch
public int getHatch()Get the hatch pattern of the MetaBrush- Returns:
- hatch of the brush
-
getColor
-