|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.flagstone.transform.FSTransformObject
com.flagstone.transform.FSMovieObject
com.flagstone.transform.FSPathsArePostscript
public class FSPathsArePostscript
The FSPathsArePostscript 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.
It does not affect the paths defined in FSCurve objects which describe quadratic Bezier curves. It is included in the package for completeness.
Attributes | |
---|---|
type | Identifies the data structure when it is encoded. Read-only. |
The FSPathsArePostscript class represents the PathsArePostscript tag from the Macromedia Flash (SWF) File Format Specification. It is not documented in later editions of the specification. It is not known when this tag was added.
Field Summary |
---|
Constructor Summary | |
---|---|
FSPathsArePostscript()
Constructs an FSPathsArePostscript object. |
|
FSPathsArePostscript(FSCoder coder)
Construct an FSPathsArePostscript object, initalizing it with values decoded from an encoded object. |
|
FSPathsArePostscript(FSPathsArePostscript obj)
Constructs an FSPathsArePostscript object by copying values from an existing object. |
Method Summary | |
---|---|
void |
appendDescription(java.lang.StringBuffer buffer,
int depth)
AppendDescription is used to present a string description of the object including all nested objects up to a specified depth. |
void |
decode(FSCoder coder)
|
void |
encode(FSCoder coder)
|
static FSPathsArePostscript |
getInstance()
Returns a canonical FSPathsArePostscript object. |
int |
length(FSCoder coder)
|
Methods inherited from class com.flagstone.transform.FSMovieObject |
---|
equals, getType |
Methods inherited from class com.flagstone.transform.FSTransformObject |
---|
clone, name, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FSPathsArePostscript(FSCoder coder)
coder
- an FSCoder containing the binary data.public FSPathsArePostscript()
public FSPathsArePostscript(FSPathsArePostscript obj)
obj
- an FSPathsArePostscript object.Method Detail |
---|
public static FSPathsArePostscript getInstance()
public void appendDescription(java.lang.StringBuffer buffer, int depth)
FSTransformObject
appendDescription
in class FSMovieObject
buffer
- a StringBuffer to which the description of each object is
appended.depth
- the maximum level of nesting up to which objects will be
displayed.public int length(FSCoder coder)
length
in class FSMovieObject
public void encode(FSCoder coder)
encode
in class FSMovieObject
public void decode(FSCoder coder)
decode
in class FSMovieObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |