public class MissingGlyph extends ShapeElement
Modifier and Type | Field and Description |
---|---|
static String |
TAG_NAME |
strokeWidthScalar
VECTOR_EFFECT_NON_SCALING_STROKE, VECTOR_EFFECT_NONE
children, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, serialVersionUID, SVG_NS, trackManager, xmlBase
Constructor and Description |
---|
MissingGlyph()
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.
|
Rectangle2D |
getBoundingBox() |
float |
getHorizAdvX() |
Shape |
getPath() |
Shape |
getShape() |
String |
getTagName() |
float |
getVertAdvY() |
float |
getVertOriginX() |
float |
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 |
render(Graphics2D g) |
void |
setHorizAdvX(float horizAdvX) |
void |
setPath(Shape path) |
void |
setVertAdvY(float vertAdvY) |
void |
setVertOriginX(float vertOriginX) |
void |
setVertOriginY(float vertOriginY) |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.
|
includeStrokeInBounds, renderShape
beginLayer, finishLayer
boundsToParent, getXForm, shapeToParent
addAttribute, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getRoot, getStyle, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, indexOfChild, lerp, loaderAddText, loaderEndElement, loaderStartElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildren
public static final String TAG_NAME
public MissingGlyph()
public String getTagName()
getTagName
in class SVGElement
public void loaderAddChild(SVGLoaderHelper helper, SVGElement child) throws SVGElementException
loaderAddChild
in class SVGElement
SVGElementException
protected void build() throws SVGException
SVGElement
build
in class RenderableElement
SVGException
public void render(Graphics2D g) throws SVGException
render
in class ShapeElement
SVGException
public float getHorizAdvX()
public float getVertOriginX()
public float getVertOriginY()
public float getVertAdvY()
public Shape getShape()
getShape
in class ShapeElement
public Rectangle2D getBoundingBox() throws SVGException
getBoundingBox
in class RenderableElement
SVGException
public boolean updateTime(double curTime) throws SVGException
updateTime
in class TransformableElement
SVGException
public void setHorizAdvX(float horizAdvX)
horizAdvX
- the horizAdvX to setpublic void setVertOriginX(float vertOriginX)
vertOriginX
- the vertOriginX to setpublic void setVertOriginY(float vertOriginY)
vertOriginY
- the vertOriginY to setpublic void setVertAdvY(float vertAdvY)
vertAdvY
- the vertAdvY to setCopyright © 2011-2020 Kitfox Studios. All Rights Reserved.