java.lang.Object
com.anotherbigidea.flash.writers.SWFTagTypesImpl
com.anotherbigidea.flash.movie.FontLoader
- All Implemented Interfaces:
- com.anotherbigidea.flash.interfaces.SWFFileSignature, com.anotherbigidea.flash.interfaces.SWFHeader, com.anotherbigidea.flash.interfaces.SWFSpriteTagTypes, com.anotherbigidea.flash.interfaces.SWFTags, com.anotherbigidea.flash.interfaces.SWFTagTypes
- public class FontLoader
- extends com.anotherbigidea.flash.writers.SWFTagTypesImpl
Font loading utilities
|
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 |
com.anotherbigidea.flash.interfaces.SWFVectors |
tagDefineFont2(int id,
int flags,
java.lang.String name,
int numGlyphs,
int ascent,
int descent,
int leading,
int[] codes,
int[] advances,
com.anotherbigidea.flash.structs.Rect[] bounds,
int[] kernCodes1,
int[] kernCodes2,
int[] kernAdjustments)
SWFTagTypes Interface |
| Methods inherited from class com.anotherbigidea.flash.writers.SWFTagTypesImpl |
header, signature, tag, tagButtonCXForm, tagDefineBits, tagDefineBitsJPEG2, tagDefineBitsJPEG2, tagDefineBitsJPEG3, tagDefineBitsLossless, tagDefineBitsLossless2, tagDefineButton, tagDefineButton2, tagDefineButtonSound, tagDefineFont, tagDefineFontInfo, tagDefineFontInfo2, tagDefineMorphShape, tagDefineQuickTimeMovie, tagDefineShape, tagDefineShape2, tagDefineShape3, tagDefineSound, tagDefineSprite, tagDefineText, tagDefineText2, tagDefineTextField, tagDoAction, tagDoInitAction, tagEnableDebug, tagEnableDebug2, tagEnd, tagExport, tagFrameLabel, tagFrameLabel, tagFreeCharacter, tagGenerator, tagGeneratorCommand, tagGeneratorFont, tagGeneratorText, tagImport, tagJPEGTables, tagNameCharacter, tagPlaceObject, tagPlaceObject2, tagProtect, tagRemoveObject, tagRemoveObject2, tagSerialNumber, tagSetBackgroundColor, tagShowFrame, tagSoundStreamBlock, tagSoundStreamHead, tagSoundStreamHead2, tagStartSound |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fontDef
protected FontDefinition fontDef
FontLoader
public FontLoader()
loadFont
public static FontDefinition loadFont(java.lang.String filename)
throws java.io.IOException
- Load the first font from the given Flash movie
loadFont
public static FontDefinition loadFont(java.io.InputStream flashMovie)
throws java.io.IOException
- Load the first font from the given Flash movie
tagDefineFont2
public com.anotherbigidea.flash.interfaces.SWFVectors tagDefineFont2(int id,
int flags,
java.lang.String name,
int numGlyphs,
int ascent,
int descent,
int leading,
int[] codes,
int[] advances,
com.anotherbigidea.flash.structs.Rect[] bounds,
int[] kernCodes1,
int[] kernCodes2,
int[] kernAdjustments)
throws java.io.IOException
- SWFTagTypes Interface