|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.font.format.ttf.TTCTableHeader
public final class TTCTableHeader
A TTC (TrueType Collection) header.
Method Summary | |
---|---|
TrueTypeCollection |
getCollection()
Returns the parent TrueType collection. |
long |
getDirectoryOffset(int directoryIndex)
Return the offset to a specific directory. |
int |
getNumDirectories()
Returns the number of directories. |
static TTCTableHeader |
parse(TrueTypeCollection collection,
RandomAccessInput raInput)
Constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TTCTableHeader parse(TrueTypeCollection collection, RandomAccessInput raInput) throws IOException
collection
- The TTC file for which this table header is created.raInput
- The input being parsed.
IOException
- For I/O Error.public TrueTypeCollection getCollection()
public int getNumDirectories()
public long getDirectoryOffset(int directoryIndex)
directoryIndex
- The directory index.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |