public class FontFace 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 |
---|
FontFace()
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.
|
int |
getAccentHeight() |
int |
getAscent() |
int |
getDescent() |
String |
getFontFamily() |
int |
getOverlinePosition() |
int |
getOverlineThickness() |
int |
getStrikethroughPosition() |
int |
getStrikethroughThickness() |
String |
getTagName() |
int |
getUnderlinePosition() |
int |
getUnderlineThickness() |
int |
getUnitsPerEm() |
void |
setAccentHeight(int accentHeight) |
void |
setAscent(int ascent) |
void |
setDescent(int descent) |
void |
setOverlinePosition(int overlinePosition) |
void |
setOverlineThickness(int overlineThickness) |
void |
setStrikethroughPosition(int strikethroughPosition) |
void |
setStrikethroughThickness(int strikethroughThickness) |
void |
setUnderlinePosition(int underlinePosition) |
void |
setUnderlineThickness(int underlineThickness) |
void |
setUnitsPerEm(int unitsPerEm) |
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, loaderAddChild, loaderAddText, loaderEndElement, 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
protected void build() throws SVGException
SVGElement
build
in class SVGElement
SVGException
public String getFontFamily()
public int getUnitsPerEm()
public int getAscent()
public int getDescent()
public int getAccentHeight()
public int getUnderlinePosition()
public int getUnderlineThickness()
public int getStrikethroughPosition()
public int getStrikethroughThickness()
public int getOverlinePosition()
public int getOverlineThickness()
public boolean updateTime(double curTime)
updateTime
in class SVGElement
public void setUnitsPerEm(int unitsPerEm)
unitsPerEm
- the unitsPerEm to setpublic void setAscent(int ascent)
ascent
- the ascent to setpublic void setDescent(int descent)
descent
- the descent to setpublic void setAccentHeight(int accentHeight)
accentHeight
- the accentHeight to setpublic void setUnderlinePosition(int underlinePosition)
underlinePosition
- the underlinePosition to setpublic void setUnderlineThickness(int underlineThickness)
underlineThickness
- the underlineThickness to setpublic void setStrikethroughPosition(int strikethroughPosition)
strikethroughPosition
- the strikethroughPosition to setpublic void setStrikethroughThickness(int strikethroughThickness)
strikethroughThickness
- the strikethroughThickness to setpublic void setOverlinePosition(int overlinePosition)
overlinePosition
- the overlinePosition to setpublic void setOverlineThickness(int overlineThickness)
overlineThickness
- the overlineThickness to set