Package com.aowagie.text.pdf.codec.wmf
Class MetaFont
- java.lang.Object
-
- com.aowagie.text.pdf.codec.wmf.MetaObject
-
- com.aowagie.text.pdf.codec.wmf.MetaFont
-
class MetaFont extends MetaObject
-
-
Field Summary
Fields Modifier and Type Field Description private float
angle
private int
bold
private static int
BOLDTHRESHOLD
private int
charset
(package private) static int
ETO_CLIPPED
(package private) static int
ETO_OPAQUE
private java.lang.String
faceName
private static int
FF_DECORATIVE
private static int
FF_MODERN
private static int
FF_ROMAN
private static int
FF_SCRIPT
private static int
FF_SWISS
private static int
FIXED_PITCH
private BaseFont
font
private static java.lang.String[]
fontNames
private int
height
private int
italic
private static int
MARKER_BOLD
private static int
MARKER_COURIER
private static int
MARKER_HELVETICA
private static int
MARKER_ITALIC
private static int
MARKER_SYMBOL
private static int
MARKER_TIMES
private static int
nameSize
private int
pitchAndFamily
private boolean
strikeout
private boolean
underline
-
Fields inherited from class com.aowagie.text.pdf.codec.wmf.MetaObject
META_BRUSH, META_FONT, META_PEN, type
-
-
Constructor Summary
Constructors Constructor Description MetaFont()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getAngle()
BaseFont
getFont()
float
getFontSize(MetaState state)
void
init(InputMeta in)
boolean
isStrikeout()
boolean
isUnderline()
-
Methods inherited from class com.aowagie.text.pdf.codec.wmf.MetaObject
getType
-
-
-
-
Field Detail
-
fontNames
private static final java.lang.String[] fontNames
-
MARKER_BOLD
private static final int MARKER_BOLD
- See Also:
- Constant Field Values
-
MARKER_ITALIC
private static final int MARKER_ITALIC
- See Also:
- Constant Field Values
-
MARKER_COURIER
private static final int MARKER_COURIER
- See Also:
- Constant Field Values
-
MARKER_HELVETICA
private static final int MARKER_HELVETICA
- See Also:
- Constant Field Values
-
MARKER_TIMES
private static final int MARKER_TIMES
- See Also:
- Constant Field Values
-
MARKER_SYMBOL
private static final int MARKER_SYMBOL
- See Also:
- Constant Field Values
-
FIXED_PITCH
private static final int FIXED_PITCH
- See Also:
- Constant Field Values
-
FF_ROMAN
private static final int FF_ROMAN
- See Also:
- Constant Field Values
-
FF_SWISS
private static final int FF_SWISS
- See Also:
- Constant Field Values
-
FF_MODERN
private static final int FF_MODERN
- See Also:
- Constant Field Values
-
FF_SCRIPT
private static final int FF_SCRIPT
- See Also:
- Constant Field Values
-
FF_DECORATIVE
private static final int FF_DECORATIVE
- See Also:
- Constant Field Values
-
BOLDTHRESHOLD
private static final int BOLDTHRESHOLD
- See Also:
- Constant Field Values
-
nameSize
private static final int nameSize
- See Also:
- Constant Field Values
-
ETO_OPAQUE
static final int ETO_OPAQUE
- See Also:
- Constant Field Values
-
ETO_CLIPPED
static final int ETO_CLIPPED
- See Also:
- Constant Field Values
-
height
private int height
-
angle
private float angle
-
bold
private int bold
-
italic
private int italic
-
underline
private boolean underline
-
strikeout
private boolean strikeout
-
charset
private int charset
-
pitchAndFamily
private int pitchAndFamily
-
faceName
private java.lang.String faceName
-
font
private BaseFont font
-
-
Method Detail
-
init
public void init(InputMeta in) throws java.io.IOException
- Throws:
java.io.IOException
-
getFont
public BaseFont getFont()
-
getAngle
public float getAngle()
-
isUnderline
public boolean isUnderline()
-
isStrikeout
public boolean isStrikeout()
-
getFontSize
public float getFontSize(MetaState state)
-
-