public class MetaPen extends MetaObject
Modifier and Type | Field and Description |
---|---|
static int |
PS_DASH |
static int |
PS_DASHDOT |
static int |
PS_DASHDOTDOT |
static int |
PS_DOT |
static int |
PS_INSIDEFRAME |
static int |
PS_NULL |
static int |
PS_SOLID |
META_BRUSH, META_FONT, META_NOT_SUPPORTED, META_PEN
Constructor and Description |
---|
MetaPen()
Creates a MetaPen object.
|
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Get the color of the MetaPen.
|
int |
getPenWidth()
Get the width of the MetaPen.
|
int |
getStyle()
Get the style of the MetaPen.
|
void |
init(InputMeta in)
Initializes a MetaPen object.
|
getType
public static final int PS_SOLID
public static final int PS_DASH
public static final int PS_DOT
public static final int PS_DASHDOT
public static final int PS_DASHDOTDOT
public static final int PS_NULL
public static final int PS_INSIDEFRAME
public void init(InputMeta in) throws IOException
in
- the InputMeta object that holds the inputstream of the WMF image
IOException
public int getStyle()
public int getPenWidth()
public Color getColor()
Copyright © 1998–2018 iText Group NV. All rights reserved.