public class HorizontalMetricsTable extends TTFTable
| Modifier and Type | Field and Description |
|---|---|
static String |
TAG
A tag that identifies this table type.
|
| Constructor and Description |
|---|
HorizontalMetricsTable() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getAdvanceWidth() |
void |
initData(TrueTypeFont ttf,
TTFDataStream data)
This will read the required data from the stream.
|
void |
setAdvanceWidth(int[] advanceWidthValue) |
getCheckSum, getLength, getOffset, getTag, setCheckSum, setLength, setOffset, setTagpublic static final String TAG
public void initData(TrueTypeFont ttf, TTFDataStream data) throws IOException
initData in class TTFTablettf - The font that is being read.data - The stream to read the data from.IOException - If there is an error reading the data.public int[] getAdvanceWidth()
public void setAdvanceWidth(int[] advanceWidthValue)
advanceWidthValue - The advanceWidth to set.Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.