|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.Resource com.cete.dynamicpdf.Font com.cete.dynamicpdf.text.FormFont com.cete.dynamicpdf.text.Symbol
public class Symbol
Represents the core PDF Symbol font.
Licensing:
This class is a DynamicPDF Generator Community Edition feature.
Method Summary | |
---|---|
void |
draw(DocumentWriter writer)
Draws the font definition to the given DocumentWriter object. |
short |
getAscender()
Gets the ascender for the font. |
short |
getDescender()
Gets the descender for the font. |
java.lang.String |
getFormFontName()
Gets the four character name of the font. |
int |
getGlyphWidth(char glyph)
Returns the mwidth of a glyph. |
LineBreaker |
getLineBreaker()
Gets the default line breaker for the font. |
short |
getLineGap()
Gets the line gap for the font. |
java.lang.String |
getName()
Gets the name of the font. |
int |
getRequiredPdfObjects()
Gets the number of PDF objects required by the Symbol font. |
Methods inherited from class com.cete.dynamicpdf.Resource |
---|
getUid, newUid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void draw(DocumentWriter writer)
DocumentWriter
object.
draw
in class Resource
writer
- DocumentWriter
object to receive the core font's output.DocumentWriter
public int getGlyphWidth(char glyph)
getGlyphWidth
in class Font
glyph
- char glyph whose mwidth is to be returned.
public short getDescender()
getDescender
in class Font
public short getAscender()
getAscender
in class Font
public short getLineGap()
getLineGap
in class Font
public int getRequiredPdfObjects()
getRequiredPdfObjects
in class Resource
public java.lang.String getName()
getName
in class Font
public java.lang.String getFormFontName()
getFormFontName
in class FormFont
public LineBreaker getLineBreaker()
getLineBreaker
in class Font
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |