public class PSTTFGlyphOutputStream extends java.lang.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 java.io.IOException
TTFGlyphOutputStream
startGlyphStream
in interface TTFGlyphOutputStream
java.io.IOException
public void streamGlyph(byte[] glyphData, int offset, int size) throws java.io.IOException
TTFGlyphOutputStream
streamGlyph
in interface TTFGlyphOutputStream
glyphData
- 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.IOException
public void endGlyphStream() throws java.io.IOException
TTFGlyphOutputStream
endGlyphStream
in interface TTFGlyphOutputStream
java.io.IOException
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.