TTFGlyphOutputStreampublic class PSTTFGlyphOutputStream extends java.lang.Object implements TTFGlyphOutputStream
| Constructor | Description |
|---|---|
PSTTFGlyphOutputStream(PSTTFGenerator ttfGen) |
Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
endGlyphStream() |
Ends the streaming of glyphs.
|
void |
startGlyphStream() |
Begins the streaming of glyphs.
|
void |
streamGlyph(byte[] glyphData,
int offset,
int size) |
Streams an individual glyph from the given byte array.
|
public PSTTFGlyphOutputStream(PSTTFGenerator ttfGen)
ttfGen - PSTTFGeneratorpublic void startGlyphStream()
throws java.io.IOException
TTFGlyphOutputStreamstartGlyphStream in interface TTFGlyphOutputStreamjava.io.IOExceptionpublic void streamGlyph(byte[] glyphData,
int offset,
int size)
throws java.io.IOException
TTFGlyphOutputStreamstreamGlyph in interface TTFGlyphOutputStreamglyphData - the source of the glyph data to stream fromoffset - the position in the glyph data where the glyph startssize - the size of the glyph data in bytesjava.io.IOExceptionpublic void endGlyphStream()
throws java.io.IOException
TTFGlyphOutputStreamendGlyphStream in interface TTFGlyphOutputStreamjava.io.IOExceptionCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.