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 floatangleprivate intboldprivate static intBOLDTHRESHOLDprivate intcharset(package private) static intETO_CLIPPED(package private) static intETO_OPAQUEprivate java.lang.StringfaceNameprivate static intFF_DECORATIVEprivate static intFF_MODERNprivate static intFF_ROMANprivate static intFF_SCRIPTprivate static intFF_SWISSprivate static intFIXED_PITCHprivate BaseFontfontprivate static java.lang.String[]fontNamesprivate intheightprivate intitalicprivate static intMARKER_BOLDprivate static intMARKER_COURIERprivate static intMARKER_HELVETICAprivate static intMARKER_ITALICprivate static intMARKER_SYMBOLprivate static intMARKER_TIMESprivate static intnameSizeprivate intpitchAndFamilyprivate booleanstrikeoutprivate booleanunderline-
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 floatgetAngle()BaseFontgetFont()floatgetFontSize(MetaState state)voidinit(InputMeta in)booleanisStrikeout()booleanisUnderline()-
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)
-
-