|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpt.tumba.parser.swf.SWFTagTypesImpl
pt.tumba.parser.swf.FontLoader
public class FontLoader
Font loading utilities
Nested Class Summary | |
---|---|
protected class |
FontLoader.VectorImpl
Description of the Class |
Field Summary | |
---|---|
protected FontDefinition |
fontDef
Description of the Field |
Fields inherited from class pt.tumba.parser.swf.SWFTagTypesImpl |
---|
tags |
Constructor Summary | |
---|---|
FontLoader()
Constructor for the FontLoader object |
Method Summary | |
---|---|
static FontDefinition |
loadFont(java.io.InputStream flashMovie)
Load the first font from the given Flash movie |
static FontDefinition |
loadFont(java.lang.String filename)
Load the first font from the given Flash movie |
SWFVectors |
tagDefineFont2(int id,
int flags,
java.lang.String name,
int numGlyphs,
int ascent,
int descent,
int leading,
int[] codes,
int[] advances,
Rect[] bounds,
int[] kernCodes1,
int[] kernCodes2,
int[] kernAdjustments)
SWFTagTypes Interface |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected FontDefinition fontDef
Constructor Detail |
---|
public FontLoader()
Method Detail |
---|
public static FontDefinition loadFont(java.lang.String filename) throws java.io.IOException
filename
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic static FontDefinition loadFont(java.io.InputStream flashMovie) throws java.io.IOException
flashMovie
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic SWFVectors tagDefineFont2(int id, int flags, java.lang.String name, int numGlyphs, int ascent, int descent, int leading, int[] codes, int[] advances, Rect[] bounds, int[] kernCodes1, int[] kernCodes2, int[] kernAdjustments) throws java.io.IOException
tagDefineFont2
in interface SWFTagTypes
tagDefineFont2
in class SWFTagTypesImpl
id
- Description of the Parameterflags
- Description of the Parametername
- Description of the ParameternumGlyphs
- Description of the Parameterascent
- Description of the Parameterdescent
- Description of the Parameterleading
- Description of the Parametercodes
- Description of the Parameteradvances
- Description of the Parameterbounds
- Description of the ParameterkernCodes1
- Description of the ParameterkernCodes2
- Description of the ParameterkernAdjustments
- Description of the Parameter
java.io.IOException
- Description of the Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |