public class MetaBrush extends MetaObject
Modifier and Type | Field and Description |
---|---|
static int |
BS_DIBPATTERN |
static int |
BS_HATCHED |
static int |
BS_NULL |
static int |
BS_PATTERN |
static int |
BS_SOLID |
static int |
HS_BDIAGONAL |
static int |
HS_CROSS |
static int |
HS_DIAGCROSS |
static int |
HS_FDIAGONAL |
static int |
HS_HORIZONTAL |
static int |
HS_VERTICAL |
META_BRUSH, META_FONT, META_NOT_SUPPORTED, META_PEN
Constructor and Description |
---|
MetaBrush()
Creates a MetaBrush object.
|
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Get the color of the MetaBrush.
|
int |
getHatch()
Get the hatch pattern of the MetaBrush
|
int |
getStyle()
Get the style of the MetaBrush.
|
void |
init(InputMeta in)
Initializes this MetaBrush object.
|
getType
public static final int BS_SOLID
public static final int BS_NULL
public static final int BS_HATCHED
public static final int BS_PATTERN
public static final int BS_DIBPATTERN
public static final int HS_HORIZONTAL
public static final int HS_VERTICAL
public static final int HS_FDIAGONAL
public static final int HS_BDIAGONAL
public static final int HS_CROSS
public static final int HS_DIAGCROSS
public void init(InputMeta in) throws IOException
in
- the InputMeta
IOException
- an IOException
public int getStyle()
public int getHatch()
public Color getColor()
Copyright © 1998–2023 iText Group NV. All rights reserved.