|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.xtf.tables.cff.CharString
public class CharString
Container for each char string.
| Field Summary | |
|---|---|
protected int |
idx
The index. |
protected java.lang.Integer |
width
The width. |
| Constructor Summary | |
|---|---|
protected |
CharString()
Creates a new object. |
|
CharString(CffFont cffFont,
int idx)
Creates a new object. |
|
CharString(CffFont cffFont,
int idx,
boolean noname)
Creates a new object. |
| Method Summary | |
|---|---|
void |
add(T2Operator op)
Add a T2Operator. |
void |
addHint()
Add a hint count. |
void |
addHints(int cnt)
Add hints. |
void |
checkWidth()
Check, if the width is set. |
T2Operator |
get(int index)
|
int |
getActualHints()
Returns the hints in the commands. |
CffFont |
getCffFont()
Getter for cffFont. |
int |
getIdx()
Getter for idx. |
int |
getMaxX()
Getter for maxX. |
int |
getMaxY()
Getter for maxY. |
int |
getMinX()
Getter for minX. |
int |
getMinY()
Getter for minY. |
java.lang.String |
getName()
Returns the name of the charstring. |
java.util.List<T2Operator> |
getT2Ops()
Getter for t2Ops. |
java.lang.Integer |
getWidth()
Getter for width. |
boolean |
isEmpty()
|
java.util.Iterator<T2Operator> |
iterator()
|
void |
resetHints()
Reset the hint counter. |
void |
setHints(int cnt)
Set the hints. |
void |
setMX(int x)
Set the maximum x. |
void |
setMY(int y)
Set the maximum y. |
void |
setWidth(T2Number width)
Setter for width. |
int |
size()
|
java.lang.String |
toString()
|
void |
writeXML(XMLStreamWriter writer)
Write the data to a XMLStreamWriter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int idx
protected java.lang.Integer width
| Constructor Detail |
|---|
protected CharString()
public CharString(CffFont cffFont,
int idx)
idx - The index.
public CharString(CffFont cffFont,
int idx,
boolean noname)
idx - The index.| Method Detail |
|---|
public void add(T2Operator op)
T2Operator.
op - The t2 operator to add.public void addHint()
public void addHints(int cnt)
cnt - The count of hints to add.public void checkWidth()
public T2Operator get(int index)
index - The index.
List.get(int)public int getActualHints()
public CffFont getCffFont()
public int getIdx()
public int getMaxX()
public int getMaxY()
public int getMinX()
public int getMinY()
public java.lang.String getName()
public java.util.List<T2Operator> getT2Ops()
public java.lang.Integer getWidth()
public boolean isEmpty()
true, if no t2ops exits.List.isEmpty()public java.util.Iterator<T2Operator> iterator()
List.iterator()public void resetHints()
public void setHints(int cnt)
cnt - The new hints.public void setMX(int x)
x - The x value.public void setMY(int y)
y - The y value.public void setWidth(T2Number width)
width - the width to setpublic int size()
List.size()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
public void writeXML(XMLStreamWriter writer)
throws java.io.IOException
writeXML in interface XMLWriterConvertiblewriter - the XML-Writer
java.io.IOException - if an IO-error occurs.XMLWriterConvertible.writeXML(org.extex.util.xml.XMLStreamWriter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||