Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.anotherbigidea.flash.movie
Class FontLoader  view FontLoader download FontLoader.java

java.lang.Object
  extended bycom.anotherbigidea.flash.writers.SWFTagTypesImpl
      extended bycom.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


Nested Class Summary
protected  class FontLoader.VectorImpl
           
 
Field Summary
protected  FontDefinition fontDef
           
 
Fields inherited from class com.anotherbigidea.flash.writers.SWFTagTypesImpl
mTagtypes
 
Fields inherited from interface com.anotherbigidea.flash.interfaces.SWFFileSignature
SIGNATURE_COMPRESSED, SIGNATURE_NORMAL
 
Constructor Summary
FontLoader()
           
 
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
 

Field Detail

fontDef

protected FontDefinition fontDef
Constructor Detail

FontLoader

public FontLoader()
Method Detail

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