public class DefineShape extends DefinitionTag
Modifier and Type | Field and Description |
---|---|
protected Rectangle2D |
bounds |
protected int |
character |
protected FillStyleArray |
fillStyles |
protected LineStyleArray |
lineStyles |
protected SWFShape |
shape |
CONTROL, DEFAULT_VERSION, DEFINITION, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATIN, LANGUAGE_SIMPLIFIED_CHINESE, LANGUAGE_TRADITIONAL_CHINESE, TWIPS
Modifier | Constructor and Description |
---|---|
|
DefineShape() |
protected |
DefineShape(int tagID,
int version) |
|
DefineShape(int id,
Rectangle2D bounds,
FillStyleArray fillStyles,
LineStyleArray lineStyles,
SWFShape shape) |
Modifier and Type | Method and Description |
---|---|
protected void |
read(int tagID,
SWFInputStream swf,
boolean hasAlpha) |
SWFTag |
read(int tagID,
SWFInputStream swf,
int len) |
String |
toString() |
void |
write(int tagID,
SWFOutputStream swf) |
void |
write(SWFOutputStream swf,
boolean hasAlpha) |
getTagType
protected int character
protected Rectangle2D bounds
protected FillStyleArray fillStyles
protected LineStyleArray lineStyles
protected SWFShape shape
public DefineShape(int id, Rectangle2D bounds, FillStyleArray fillStyles, LineStyleArray lineStyles, SWFShape shape)
public DefineShape()
protected DefineShape(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, boolean hasAlpha) throws IOException
IOException
public void write(int tagID, SWFOutputStream swf) throws IOException
write
in class SWFTag
IOException
public void write(SWFOutputStream swf, boolean hasAlpha) throws IOException
IOException
public String toString()
toString
in class DefinitionTag
Copyright © 2014. All rights reserved.