|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.shape.PathsArePostscript
public final class PathsArePostscript
The PathsArePostscript class is used to notify the Flash Player that the glyphs encoded in a font definition were derived from a PostScript-based font definition.
The PathsArePostscript is not documented in the current Macromedia Flash (SWF) File Format Specification. It was referenced in earlier editions but its exact function was not known. It is thought that is used to signal to the Flash Player that the paths describing the outlines of the glyphs in a font were derived from a font defined using Postscript. The information can be used to provide better rendering of the glyphs.
| Method Summary | |
|---|---|
PathsArePostscript |
copy()
Creates a complete copy of this object. |
void |
encode(SWFEncoder coder,
Context context)
Encode an object to the Flash binary format. |
static PathsArePostscript |
getInstance()
Returns a singleton. |
static PathsArePostscript |
getInstance(SWFDecoder coder,
Context context)
Returns a singleton. |
int |
prepareToEncode(Context context)
Prepare an object for encoding, returning the expected size of an object when it is encoded. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static PathsArePostscript getInstance()
public static PathsArePostscript getInstance(SWFDecoder coder,
Context context)
throws IOException
coder - an SWFEncoder object.context - a Context object used to obtain the total number of
frames in a movie.
IOException - if an error occurs while encoding the object.public PathsArePostscript copy()
copy in interface Copyable<MovieTag>public String toString()
toString in class Objectpublic int prepareToEncode(Context context)
prepareToEncode in interface SWFEncodeablecontext - an Context that allows information to be passed between
objects to control how they are initialised for encoding.
public void encode(SWFEncoder coder,
Context context)
throws IOException
encode in interface SWFEncodeablecoder - an SWFEncoder object.context - an Context that allows information to be passed between
objects to control how they are initialised for encoding.
IOException - if an error occurs while encoding the object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||