org.apache.fop.dom.svg
Class SVGPathElementImpl
org.apache.fop.dom.NodeImpl
|
+--org.apache.fop.dom.ElementImpl
|
+--org.apache.fop.dom.svg.SVGElementImpl
|
+--org.apache.fop.dom.svg.GraphicElement
|
+--org.apache.fop.dom.svg.SVGPathElementImpl
- public class SVGPathElementImpl
- extends GraphicElement
- implements SVGPathElement
TODO: implement properly
Method Summary |
SVGPathSegArcAbs | createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag) |
SVGPathSegArcRel | createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag) |
SVGPathSegClosePath | createSVGPathSegClosePath() |
SVGPathSegCurvetoCubicAbs | createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2) |
SVGPathSegCurvetoCubicRel | createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2) |
SVGPathSegCurvetoCubicSmoothAbs | createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2) |
SVGPathSegCurvetoCubicSmoothRel | createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2) |
SVGPathSegCurvetoQuadraticAbs | createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1) |
SVGPathSegCurvetoQuadraticRel | createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1) |
SVGPathSegCurvetoQuadraticSmoothAbs | createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y) |
SVGPathSegCurvetoQuadraticSmoothRel | createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y) |
SVGPathSegLinetoAbs | createSVGPathSegLinetoAbs(float x, float y) |
SVGPathSegLinetoHorizontalAbs | createSVGPathSegLinetoHorizontalAbs(float x) |
SVGPathSegLinetoHorizontalRel | createSVGPathSegLinetoHorizontalRel(float x) |
SVGPathSegLinetoRel | createSVGPathSegLinetoRel(float x, float y) |
SVGPathSegLinetoVerticalAbs | createSVGPathSegLinetoVerticalAbs(float y) |
SVGPathSegLinetoVerticalRel | createSVGPathSegLinetoVerticalRel(float y) |
SVGPathSegMovetoAbs | createSVGPathSegMovetoAbs(float x, float y) |
SVGPathSegMovetoRel | createSVGPathSegMovetoRel(float x, float y) |
SVGPathSegList | getAnimatedNormalizedPathSegList() |
SVGPathSegList | getAnimatedPathSegList() |
SVGRect | getBBox() |
SVGPathSegList | getNormalizedPathSegList() |
SVGAnimatedNumber | getPathLength() |
int | getPathSegAtLength(float distance) |
SVGPathSegList | getPathSegList() |
short | getPathSegType() |
String | getPathSegTypeAsLetter() |
SVGPoint | getPointAtLength(float distance) |
float | getTotalLength() |
void | setPathLength(SVGAnimatedNumber length) |
Methods inherited from class org.apache.fop.dom.svg.GraphicElement |
addEventListener, dispatchEvent, getCTM, getFarthestViewportElement, getNearestViewportElement, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSystemLanguage, getTransform, getTransformToElement, getXMLlang, getXMLspace, hasExtension, removeEventListener, setRequiredExtensions, setRequiredFeatures, setSystemLanguage, setTransform, setXMLlang, setXMLspace |
Methods inherited from class org.apache.fop.dom.svg.SVGElementImpl |
appendChild, getAnimatedPresentationAttribute, getClassName, getExternalResourcesRequired, getId, getNamespaceURI, getOwnerSVGElement, getPresentationAttribute, getStyle, getViewportElement, setClassName, setExternalResourcesRequired, setId, setOwnerSVG, setStyle |
Methods inherited from class org.apache.fop.dom.ElementImpl |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, hasAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
Methods inherited from class org.apache.fop.dom.NodeImpl |
cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTagName, hasChildNodes, insertBefore, isSupported, normalize, removeChild, setNodeValue, setPrefix, supports |
pathElements
public Vector pathElements
SVGPathElementImpl
public SVGPathElementImpl(Vector v)
- construct a line graphic
createSVGPathSegArcAbs
public SVGPathSegArcAbs createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag)
createSVGPathSegArcRel
public SVGPathSegArcRel createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag)
createSVGPathSegClosePath
public SVGPathSegClosePath createSVGPathSegClosePath()
createSVGPathSegCurvetoCubicAbs
public SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2)
createSVGPathSegCurvetoCubicRel
public SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2)
createSVGPathSegCurvetoCubicSmoothAbs
public SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2)
createSVGPathSegCurvetoCubicSmoothRel
public SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2)
createSVGPathSegCurvetoQuadraticAbs
public SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1)
createSVGPathSegCurvetoQuadraticRel
public SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1)
createSVGPathSegCurvetoQuadraticSmoothAbs
public SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y)
createSVGPathSegCurvetoQuadraticSmoothRel
public SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y)
createSVGPathSegLinetoAbs
public SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(float x, float y)
createSVGPathSegLinetoHorizontalAbs
public SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(float x)
createSVGPathSegLinetoHorizontalRel
public SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(float x)
createSVGPathSegLinetoRel
public SVGPathSegLinetoRel createSVGPathSegLinetoRel(float x, float y)
createSVGPathSegLinetoVerticalAbs
public SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(float y)
createSVGPathSegLinetoVerticalRel
public SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(float y)
createSVGPathSegMovetoAbs
public SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(float x, float y)
createSVGPathSegMovetoRel
public SVGPathSegMovetoRel createSVGPathSegMovetoRel(float x, float y)
getAnimatedNormalizedPathSegList
public SVGPathSegList getAnimatedNormalizedPathSegList()
getAnimatedPathSegList
public SVGPathSegList getAnimatedPathSegList()
getBBox
public SVGRect getBBox()
getNormalizedPathSegList
public SVGPathSegList getNormalizedPathSegList()
getPathLength
public SVGAnimatedNumber getPathLength()
getPathSegAtLength
public int getPathSegAtLength(float distance)
throws SVGException
getPathSegList
public SVGPathSegList getPathSegList()
getPathSegType
public short getPathSegType()
getPathSegTypeAsLetter
public String getPathSegTypeAsLetter()
getPointAtLength
public SVGPoint getPointAtLength(float distance)
throws SVGException
getTotalLength
public float getTotalLength()
setPathLength
public void setPathLength(SVGAnimatedNumber length)
to Class java.util.Vector