|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fontbox.cff.CharStringHandler
org.apache.fontbox.cff.CharStringRenderer
public class CharStringRenderer
This class represents a renderer for a charstring.
Constructor Summary | |
---|---|
CharStringRenderer()
|
Method Summary | |
---|---|
Rectangle2D |
getBounds()
Returns the bounds of the renderer path. |
int |
getWidth()
Returns the width of the current command. |
void |
handleCommand(List<Integer> numbers,
CharStringCommand command)
Handler for CharStringCommands. |
GeneralPath |
render(List<Object> sequence)
Renders the given sequence and returns the result as a GeneralPath. |
Methods inherited from class org.apache.fontbox.cff.CharStringHandler |
---|
handleSequence |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharStringRenderer()
Method Detail |
---|
public GeneralPath render(List<Object> sequence)
sequence
- the given charstring sequence
public void handleCommand(List<Integer> numbers, CharStringCommand command)
handleCommand
in class CharStringHandler
numbers
- a list of numberscommand
- the CharStringCommandpublic Rectangle2D getBounds()
public int getWidth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |