public class CFFDataReader.CFFIndexData extends CFFDataReader.CFFSubTable
Constructor and Description |
---|
CFFIndexData() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData() |
int |
getNumObjects() |
int[] |
getOffsets() |
int |
getOffSize() |
byte[] |
getValue(int index)
Retrieves data from the index data
|
int |
getValueLength(int index) |
int |
getValuePosition(int index) |
void |
parseIndexHeader(org.apache.fontbox.cff.DataInputByteArray cffData)
Parses index data from an index object found within the CFF byte data
|
void |
setData(int position,
int length) |
void |
setNumObjects(int numObjects) |
void |
setOffsets(int[] offsets) |
void |
setOffSize(int offSize) |
getByteData, setByteData
public int getNumObjects()
public void setNumObjects(int numObjects)
public int getOffSize()
public void setOffSize(int offSize)
public int[] getOffsets()
public void setOffsets(int[] offsets)
public void setData(int position, int length)
public byte[] getData() throws IOException
IOException
public void parseIndexHeader(org.apache.fontbox.cff.DataInputByteArray cffData) throws IOException
cffData
- A byte array containing the CFF dataIOException
- Throws an IO Exception if an error occurspublic byte[] getValue(int index) throws IOException
index
- The index position of the data to retrieveIOException
- Throws an IO Exception if an error occurspublic int getValuePosition(int index)
public int getValueLength(int index)
Copyright © 2024. All rights reserved.