public class PSTTFGlyphOutputStream extends Object implements TTFGlyphOutputStream
| Constructor and Description |
|---|
PSTTFGlyphOutputStream(PSTTFGenerator ttfGen)
Constructor
|
| Modifier and Type | Method and 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 IOException
TTFGlyphOutputStreamstartGlyphStream in interface TTFGlyphOutputStreamIOExceptionpublic void streamGlyph(byte[] glyphData,
int offset,
int size)
throws 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 bytesIOExceptionpublic void endGlyphStream()
throws IOException
TTFGlyphOutputStreamendGlyphStream in interface TTFGlyphOutputStreamIOExceptionCopyright © 2023 Apache Software Foundation. All rights reserved.