public class CharStringRenderer extends CharStringHandler
| Constructor and Description |
|---|
CharStringRenderer() |
CharStringRenderer(boolean isType1) |
| Modifier and Type | Method and Description |
|---|---|
Rectangle2D |
getBounds()
Returns the bounds of the renderer path.
|
int |
getWidth()
Returns the width of the current command.
|
List<Integer> |
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.
|
handleSequencepublic CharStringRenderer()
public CharStringRenderer(boolean isType1)
public GeneralPath render(List<Object> sequence) throws IOException
sequence - the given charstring sequenceIOExceptionpublic List<Integer> handleCommand(List<Integer> numbers, CharStringCommand command)
handleCommand in class CharStringHandlernumbers - a list of numberscommand - the CharStringCommandpublic Rectangle2D getBounds()
public int getWidth()
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.