public class DefineText extends DefinitionTag
Modifier and Type | Class and Description |
---|---|
static class |
DefineText.GlyphEntry |
static class |
DefineText.Record
Abstract Superclass for Text Records.
|
static class |
DefineText.RecordType0
Text0 Record, for the actual glyphs.
|
static class |
DefineText.RecordType1
Text1 Record, for the attributes of the text.
|
Modifier and Type | Field and Description |
---|---|
protected Rectangle2D |
bounds |
protected int |
character |
protected AffineTransform |
matrix |
protected Vector<DefineText.Record> |
text |
CONTROL, DEFAULT_VERSION, DEFINITION, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATIN, LANGUAGE_SIMPLIFIED_CHINESE, LANGUAGE_TRADITIONAL_CHINESE, TWIPS
Modifier | Constructor and Description |
---|---|
|
DefineText() |
protected |
DefineText(int tagID,
int version) |
|
DefineText(int id,
Rectangle2D bounds,
AffineTransform matrix,
Vector<DefineText.Record> text) |
Modifier and Type | Method and Description |
---|---|
SWFTag |
read(int tagID,
SWFInputStream swf,
int len) |
protected void |
read(int tagID,
SWFInputStream swf,
int len,
boolean hasAlpha) |
String |
toString() |
void |
write(int tagID,
SWFOutputStream swf) |
protected void |
write(SWFOutputStream swf,
boolean hasAlpha) |
getTagType
protected int character
protected Rectangle2D bounds
protected AffineTransform matrix
protected Vector<DefineText.Record> text
public DefineText(int id, Rectangle2D bounds, AffineTransform matrix, Vector<DefineText.Record> text)
public DefineText()
protected DefineText(int tagID, int version)
public SWFTag read(int tagID, SWFInputStream swf, int len) throws IOException
read
in class SWFTag
IOException
protected void read(int tagID, SWFInputStream swf, int len, boolean hasAlpha) throws IOException
IOException
public void write(int tagID, SWFOutputStream swf) throws IOException
write
in class SWFTag
IOException
protected void write(SWFOutputStream swf, boolean hasAlpha) throws IOException
IOException
public String toString()
toString
in class DefinitionTag
Copyright © 2014. All rights reserved.