public class Marker extends Group
Modifier and Type | Class and Description |
---|---|
static class |
Marker.MarkerLayout |
static class |
Marker.MarkerPos |
Modifier and Type | Field and Description |
---|---|
static int |
MARKER_END |
static int |
MARKER_MID |
static int |
MARKER_START |
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 |
---|
Marker() |
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()
Retrieves the cached bounding box of this group
|
Shape |
getShape()
Retrieves the cached bounding box of this group
|
String |
getTagName() |
protected boolean |
outsideClip(Graphics2D g) |
void |
render(Graphics2D g) |
void |
render(Graphics2D g,
Marker.MarkerPos pos,
float strokeWidth) |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event.
|
calcBoundingBox, calcShape, loaderAddChild
includeStrokeInBounds, renderShape
beginLayer, finishLayer
boundsToParent, getXForm, shapeToParent
addAttribute, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getRoot, 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 static final int MARKER_START
public static final int MARKER_MID
public static final int MARKER_END
public Marker()
public String getTagName()
getTagName
in class Group
protected void build() throws SVGException
SVGElement
build
in class RenderableElement
SVGException
protected boolean outsideClip(Graphics2D g) throws SVGException
outsideClip
in class Group
SVGException
public void render(Graphics2D g) throws SVGException
render
in class Group
SVGException
public void render(Graphics2D g, Marker.MarkerPos pos, float strokeWidth) throws SVGException
SVGException
public Shape getShape()
Group
public Rectangle2D getBoundingBox() throws SVGException
Group
getBoundingBox
in class Group
SVGException
public boolean updateTime(double curTime) throws SVGException
updateTime
in class Group
SVGException
Copyright ?? 2011-2014 Kitfox Studios. All Rights Reserved.