public class HorizontalMetricsTable extends TTFTable
Modifier and Type | Field and Description |
---|---|
static String |
TAG
A tag that identifies this table type.
|
initialized
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, getInitialized, getLength, getOffset, getTag, setCheckSum, setLength, setOffset, setTag
public static final String TAG
public void initData(TrueTypeFont ttf, TTFDataStream data) throws IOException
initData
in class TTFTable
ttf
- 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 © 2002–2015 The Apache Software Foundation. All rights reserved.