Type2CharString
public class Type1CharString extends Object
Modifier and Type | Field | Description |
---|---|---|
protected int |
commandCount |
|
protected List<Object> |
type1Sequence |
Modifier | Constructor | Description |
---|---|---|
protected |
Type1CharString(Type1CharStringReader font,
String fontName,
String glyphName) |
Constructor for use in subclasses.
|
|
Type1CharString(Type1CharStringReader font,
String fontName,
String glyphName,
List<Object> sequence) |
Constructs a new Type1CharString object.
|
Modifier and Type | Method | Description |
---|---|---|
Rectangle2D |
getBounds() |
Returns the bounds of the renderer path.
|
String |
getName() |
|
GeneralPath |
getPath() |
Returns the path of the character.
|
List<Object> |
getType1Sequence() |
Returns the Type 1 char string sequence.
|
int |
getWidth() |
Returns the advance width of the glyph.
|
String |
toString() |
public Type1CharString(Type1CharStringReader font, String fontName, String glyphName, List<Object> sequence)
font
- Parent Type 1 CharString font.fontName
- Name of the font.glyphName
- Name of the glyph.sequence
- Type 1 char string sequenceprotected Type1CharString(Type1CharStringReader font, String fontName, String glyphName)
font
- Parent Type 1 CharString font.fontName
- Name of the font.glyphName
- Name of the glyph.public String getName()
public Rectangle2D getBounds()
public int getWidth()
public GeneralPath getPath()
public List<Object> getType1Sequence()
Copyright © 2008–2018. All rights reserved.