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.
|
handleSequence
public CharStringRenderer()
public CharStringRenderer(boolean isType1)
public GeneralPath render(List<Object> sequence) throws IOException
sequence
- the given charstring sequenceIOException
public List<Integer> handleCommand(List<Integer> numbers, CharStringCommand command)
handleCommand
in class CharStringHandler
numbers
- a list of numberscommand
- the CharStringCommandpublic Rectangle2D getBounds()
public int getWidth()
Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.