|
||||||||||
| 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()
Constructor for the char string renderer. |
|
CharStringRenderer(boolean isType1)
Constructor for the char string renderer with a parameter to determine whether the rendered CharString is type 1. |
|
| Method Summary | |
|---|---|
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. |
| 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()
public CharStringRenderer(boolean isType1)
isType1 - Determines wheher the charstring is type 1| Method Detail |
|---|
public GeneralPath render(List<Object> sequence)
sequence - the given charstring sequence
public List<Integer> handleCommand(List<Integer> numbers,
CharStringCommand command)
handleCommand in class CharStringHandlernumbers - a list of numberscommand - the CharStringCommand
public Rectangle2D getBounds()
public int getWidth()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||