public class Type1CharString
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
commandCount |
protected java.util.List<java.lang.Object> |
type1Sequence |
Modifier | Constructor and Description |
---|---|
protected |
Type1CharString(Type1CharStringReader font,
java.lang.String fontName,
java.lang.String glyphName)
Constructor for use in subclasses.
|
|
Type1CharString(Type1CharStringReader font,
java.lang.String fontName,
java.lang.String glyphName,
java.util.List<java.lang.Object> sequence)
Constructs a new Type1CharString object.
|
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Rectangle2D |
getBounds()
Returns the bounds of the renderer path.
|
java.lang.String |
getName() |
java.awt.geom.GeneralPath |
getPath()
Returns the path of the character.
|
java.util.List<java.lang.Object> |
getType1Sequence()
Returns the Type 1 char string sequence.
|
int |
getWidth()
Returns the advance width of the glyph.
|
java.lang.String |
toString() |
protected java.util.List<java.lang.Object> type1Sequence
protected int commandCount
public Type1CharString(Type1CharStringReader font, java.lang.String fontName, java.lang.String glyphName, java.util.List<java.lang.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, java.lang.String fontName, java.lang.String glyphName)
font
- Parent Type 1 CharString font.fontName
- Name of the font.glyphName
- Name of the glyph.public java.lang.String getName()
public java.awt.geom.Rectangle2D getBounds()
public int getWidth()
public java.awt.geom.GeneralPath getPath()
public java.util.List<java.lang.Object> getType1Sequence()
public java.lang.String toString()
toString
in class java.lang.Object