public class MetaFont extends MetaObject
META_BRUSH, META_FONT, META_NOT_SUPPORTED, META_PEN
Constructor and Description |
---|
MetaFont()
Creates a MetaFont instance.
|
Modifier and Type | Method and Description |
---|---|
float |
getAngle()
Returns the angle of the MetaFont.
|
FontEncoding |
getEncoding()
Returns the encoding used in the MetaFont.
|
FontProgram |
getFont()
Returns the Font.
|
float |
getFontSize(MetaState state)
Returns the font size.
|
void |
init(InputMeta in)
Initializes the MetaFont instance.
|
boolean |
isStrikeout()
Returns a boolean value indicating if a font has a strikeout.
|
boolean |
isUnderline()
Returns a boolean value indicating if the font is underlined or not.
|
getType
public void init(InputMeta in) throws IOException
in
- InputMeta containing the WMF data
IOException
- an IOException
public FontProgram getFont() throws IOException
IOException
- an IOException
public FontEncoding getEncoding()
public float getAngle()
public boolean isUnderline()
public boolean isStrikeout()
public float getFontSize(MetaState state)
state
- the MetaState
Copyright © 1998–2023 iText Group NV. All rights reserved.