public class Font extends SVGElement
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG_NAME |
children, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, serialVersionUID, SVG_NS, trackManager, xmlBase| Constructor and Description |
|---|
Font()
Creates a new instance of Font
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
build()
Called by internal processes to rebuild the geometry of this node from
it's presentation attributes, style attributes and animated tracks.
|
FontFace |
getFontFace() |
MissingGlyph |
getGlyph(java.lang.String unicode) |
int |
getHorizAdvX() |
int |
getHorizOriginX() |
int |
getHorizOriginY() |
java.lang.String |
getTagName() |
int |
getVertAdvY() |
int |
getVertOriginX() |
int |
getVertOriginY() |
void |
loaderAddChild(SVGLoaderHelper helper,
SVGElement child)
Called after the start element but before the end element to indicate
each child tag that has been processed
|
void |
loaderEndElement(SVGLoaderHelper helper)
Called to indicate that this tag and the tags it contains have been
completely processed, and that it should finish any load processes.
|
void |
setFontFace(FontFace face) |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.
|
addAttribute, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getRoot, getStyle, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, indexOfChild, lerp, loaderAddText, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildrenpublic static final java.lang.String TAG_NAME
public java.lang.String getTagName()
getTagName in class SVGElementpublic void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException
loaderAddChild in class SVGElementSVGElementExceptionpublic void loaderEndElement(SVGLoaderHelper helper) throws SVGParseException
SVGElementloaderEndElement in class SVGElementSVGParseExceptionprotected void build()
throws SVGException
SVGElementbuild in class SVGElementSVGExceptionpublic FontFace getFontFace()
public void setFontFace(FontFace face)
public MissingGlyph getGlyph(java.lang.String unicode)
public int getHorizOriginX()
public int getHorizOriginY()
public int getHorizAdvX()
public int getVertOriginX()
public int getVertOriginY()
public int getVertAdvY()
public boolean updateTime(double curTime)
throws SVGException
updateTime in class SVGElementSVGException