public class Font extends SVGElement
Modifier and Type | Field and Description |
---|---|
static 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(String unicode) |
int |
getHorizAdvX() |
int |
getHorizOriginX() |
int |
getHorizOriginY() |
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, swapChildren
public static final String TAG_NAME
public String getTagName()
getTagName
in class SVGElement
public void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException
loaderAddChild
in class SVGElement
SVGElementException
public void loaderEndElement(SVGLoaderHelper helper) throws SVGParseException
SVGElement
loaderEndElement
in class SVGElement
SVGParseException
protected void build() throws SVGException
SVGElement
build
in class SVGElement
SVGException
public FontFace getFontFace()
public void setFontFace(FontFace face)
public MissingGlyph getGlyph(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 SVGElement
SVGException