public class DefineFontInfo extends DefinitionTag
Modifier and Type | Field and Description |
---|---|
protected boolean |
ansi |
protected boolean |
bold |
protected int[] |
codes |
protected int |
fontID |
protected boolean |
italic |
protected String |
name |
protected boolean |
shiftJIS |
protected boolean |
wideCodes |
CONTROL, DEFAULT_VERSION, DEFINITION, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATIN, LANGUAGE_SIMPLIFIED_CHINESE, LANGUAGE_TRADITIONAL_CHINESE, TWIPS
Modifier | Constructor and Description |
---|---|
|
DefineFontInfo() |
protected |
DefineFontInfo(int code,
int version) |
|
DefineFontInfo(int fontID,
String name,
boolean shiftJIS,
boolean ansi,
boolean italic,
boolean bold,
boolean wideCodes,
int[] codes) |
Modifier and Type | Method and Description |
---|---|
SWFTag |
read(int tagID,
SWFInputStream swf,
int len) |
String |
toString() |
void |
write(int tagID,
SWFOutputStream swf) |
getTagType
protected int fontID
protected String name
protected boolean shiftJIS
protected boolean ansi
protected boolean italic
protected boolean bold
protected boolean wideCodes
protected int[] codes
public DefineFontInfo(int fontID, String name, boolean shiftJIS, boolean ansi, boolean italic, boolean bold, boolean wideCodes, int[] codes)
public DefineFontInfo()
protected DefineFontInfo(int code, int version)
public SWFTag read(int tagID, SWFInputStream swf, int len) throws IOException
read
in class SWFTag
IOException
public void write(int tagID, SWFOutputStream swf) throws IOException
write
in class SWFTag
IOException
public String toString()
toString
in class DefinitionTag
Copyright © 2014. All rights reserved.