public class TTFTable extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
initialized
Indicates if the table is initialized or not.
|
| Constructor and Description |
|---|
TTFTable() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCheckSum() |
boolean |
getInitialized()
Indicates if the table is already initialized.
|
long |
getLength() |
long |
getOffset() |
String |
getTag() |
void |
initData(TrueTypeFont ttf,
TTFDataStream data)
This will read the required data from the stream.
|
void |
setCheckSum(long checkSumValue) |
void |
setLength(long lengthValue) |
void |
setOffset(long offsetValue) |
void |
setTag(String tagValue) |
protected boolean initialized
public long getCheckSum()
public void setCheckSum(long checkSumValue)
checkSumValue - The checkSum to set.public long getLength()
public void setLength(long lengthValue)
lengthValue - The length to set.public long getOffset()
public void setOffset(long offsetValue)
offsetValue - The offset to set.public String getTag()
public void setTag(String tagValue)
tagValue - The tag to set.public boolean getInitialized()
public void initData(TrueTypeFont ttf, TTFDataStream data) throws IOException
ttf - The font that is being read.data - The stream to read the data from.IOException - If there is an error reading the data.Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.