public final class Type1OutlineParser extends Object
Type1OutlineParser offers a single method, parse which is
given a Type1Font, a glyphID and an OutlineConsumer. As the
lines and curves of the charstring are parsed,
the OutlineConsumer is called.
The same Type1OutlineParser object can be used repeatedly
to extract outlines. The successive invocations do not need to be for
the same font, nor do they need to use
the same consumer.
The consumer must not call parse on the Type1OutlineParser
that invoked it.
parse method invokes
the OutlineConsumer on the thread on which it is called.| Constructor and Description |
|---|
Type1OutlineParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
parse(Type1Font font,
int glyphID,
OutlineConsumer consumer) |
public void parse(Type1Font font, int glyphID, OutlineConsumer consumer) throws InvalidGlyphException, UnsupportedFontException
Copyright © 2010 - 2020 Adobe. All Rights Reserved