org.apache.batik.dom.svg

Class SVGOMPathElement

public class SVGOMPathElement extends SVGGraphicsElement implements SVGPathElement, SVGPathSegConstants

This class implements {@link SVGPathElement}.
Field Summary
protected SVGOMAnimatedPathDatad
The 'd' attribute value.
protected static DoublyIndexedTablexmlTraitInformation
Table mapping XML attribute names to TraitInformation objects.
Constructor Summary
protected SVGOMPathElement()
Creates a new SVGOMPathElement object.
SVGOMPathElement(String prefix, AbstractDocument owner)
Creates a new SVGOMPathElement object.
Method Summary
SVGPathSegArcAbscreateSVGPathSegArcAbs(float x_value, float y_value, float r1_value, float r2_value, float angle_value, boolean largeArcFlag_value, boolean sweepFlag_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegArcAbs(float,float,float,float,float,boolean,boolean)}.
SVGPathSegArcRelcreateSVGPathSegArcRel(float x_value, float y_value, float r1_value, float r2_value, float angle_value, boolean largeArcFlag_value, boolean sweepFlag_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegArcRel(float,float,float,float,float,boolean,boolean)}.
SVGPathSegClosePathcreateSVGPathSegClosePath()
DOM: Implements {@link SVGPathElement#createSVGPathSegClosePath()}.
SVGPathSegCurvetoCubicAbscreateSVGPathSegCurvetoCubicAbs(float x_value, float y_value, float x1_value, float y1_value, float x2_value, float y2_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoCubicAbs(float,float,float,float,float,float)}.
SVGPathSegCurvetoCubicRelcreateSVGPathSegCurvetoCubicRel(float x_value, float y_value, float x1_value, float y1_value, float x2_value, float y2_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoCubicRel(float,float,float,float,float,float)}.
SVGPathSegCurvetoCubicSmoothAbscreateSVGPathSegCurvetoCubicSmoothAbs(float x_value, float y_value, float x2_value, float y2_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoCubicSmoothAbs(float,float,float,float)}.
SVGPathSegCurvetoCubicSmoothRelcreateSVGPathSegCurvetoCubicSmoothRel(float x_value, float y_value, float x2_value, float y2_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoCubicSmoothRel(float,float,float,float)}.
SVGPathSegCurvetoQuadraticAbscreateSVGPathSegCurvetoQuadraticAbs(float x_value, float y_value, float x1_value, float y1_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoQuadraticAbs(float,float,float,float)}.
SVGPathSegCurvetoQuadraticRelcreateSVGPathSegCurvetoQuadraticRel(float x_value, float y_value, float x1_value, float y1_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoQuadraticRel(float,float,float,float)}.
SVGPathSegCurvetoQuadraticSmoothAbscreateSVGPathSegCurvetoQuadraticSmoothAbs(float x_value, float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoQuadraticSmoothAbs(float,float)}.
SVGPathSegCurvetoQuadraticSmoothRelcreateSVGPathSegCurvetoQuadraticSmoothRel(float x_value, float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoQuadraticSmoothRel(float,float)}.
SVGPathSegLinetoAbscreateSVGPathSegLinetoAbs(float x_value, float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegLinetoAbs(float,float)}.
SVGPathSegLinetoHorizontalAbscreateSVGPathSegLinetoHorizontalAbs(float x_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegLinetoHorizontalAbs(float)}.
SVGPathSegLinetoHorizontalRelcreateSVGPathSegLinetoHorizontalRel(float x_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegLinetoHorizontalRel(float)}.
SVGPathSegLinetoRelcreateSVGPathSegLinetoRel(float x_value, float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegLinetoRel(float,float)}.
SVGPathSegLinetoVerticalAbscreateSVGPathSegLinetoVerticalAbs(float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegLinetoVerticalAbs(float)}.
SVGPathSegLinetoVerticalRelcreateSVGPathSegLinetoVerticalRel(float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegLinetoVerticalRel(float)}.
SVGPathSegMovetoAbscreateSVGPathSegMovetoAbs(float x_value, float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegMovetoAbs(float,float)}.
SVGPathSegMovetoRelcreateSVGPathSegMovetoRel(float x_value, float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegMovetoRel(float,float)}.
SVGPathSegListgetAnimatedNormalizedPathSegList()
DOM: Implements {@link SVGPathElement#getAnimatedNormalizedPathSegList()}.
SVGPathSegListgetAnimatedPathSegList()
DOM: Implements {@link SVGPathElement#getAnimatedPathSegList()}.
StringgetLocalName()
DOM: Implements {@link org.w3c.dom.Node#getLocalName()}.
SVGPathSegListgetNormalizedPathSegList()
DOM: Implements {@link SVGPathElement#getNormalizedPathSegList()}.
SVGAnimatedNumbergetPathLength()
DOM: Implements {@link SVGPathElement#getPathLength()}.
intgetPathSegAtLength(float distance)
DOM: Implements {@link SVGPathElement#getPathSegAtLength(float)}.
SVGPathSegListgetPathSegList()
DOM: Implements {@link SVGPathElement#getPathSegList()}.
SVGPointgetPointAtLength(float distance)
DOM: Implements {@link SVGPathElement#getPointAtLength(float)}.
floatgetTotalLength()
DOM: Implements {@link SVGPathElement#getTotalLength()}.
protected DoublyIndexedTablegetTraitInformationTable()
Returns the table of TraitInformation objects for this element.
protected voidinitializeAllLiveAttributes()
Initializes all live attributes for this element.
protected NodenewNode()
Returns a new uninitialized instance of this object's class.

Field Detail

d

protected SVGOMAnimatedPathData d
The 'd' attribute value.

xmlTraitInformation

protected static DoublyIndexedTable xmlTraitInformation
Table mapping XML attribute names to TraitInformation objects.

Constructor Detail

SVGOMPathElement

protected SVGOMPathElement()
Creates a new SVGOMPathElement object.

SVGOMPathElement

public SVGOMPathElement(String prefix, AbstractDocument owner)
Creates a new SVGOMPathElement object.

Parameters: prefix The namespace prefix. owner The owner document.

Method Detail

createSVGPathSegArcAbs

public SVGPathSegArcAbs createSVGPathSegArcAbs(float x_value, float y_value, float r1_value, float r2_value, float angle_value, boolean largeArcFlag_value, boolean sweepFlag_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegArcAbs(float,float,float,float,float,boolean,boolean)}.

createSVGPathSegArcRel

public SVGPathSegArcRel createSVGPathSegArcRel(float x_value, float y_value, float r1_value, float r2_value, float angle_value, boolean largeArcFlag_value, boolean sweepFlag_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegArcRel(float,float,float,float,float,boolean,boolean)}.

createSVGPathSegClosePath

public SVGPathSegClosePath createSVGPathSegClosePath()
DOM: Implements {@link SVGPathElement#createSVGPathSegClosePath()}.

createSVGPathSegCurvetoCubicAbs

public SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(float x_value, float y_value, float x1_value, float y1_value, float x2_value, float y2_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoCubicAbs(float,float,float,float,float,float)}.

createSVGPathSegCurvetoCubicRel

public SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(float x_value, float y_value, float x1_value, float y1_value, float x2_value, float y2_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoCubicRel(float,float,float,float,float,float)}.

createSVGPathSegCurvetoCubicSmoothAbs

public SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(float x_value, float y_value, float x2_value, float y2_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoCubicSmoothAbs(float,float,float,float)}.

createSVGPathSegCurvetoCubicSmoothRel

public SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(float x_value, float y_value, float x2_value, float y2_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoCubicSmoothRel(float,float,float,float)}.

createSVGPathSegCurvetoQuadraticAbs

public SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(float x_value, float y_value, float x1_value, float y1_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoQuadraticAbs(float,float,float,float)}.

createSVGPathSegCurvetoQuadraticRel

public SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(float x_value, float y_value, float x1_value, float y1_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoQuadraticRel(float,float,float,float)}.

createSVGPathSegCurvetoQuadraticSmoothAbs

public SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(float x_value, float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoQuadraticSmoothAbs(float,float)}.

createSVGPathSegCurvetoQuadraticSmoothRel

public SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(float x_value, float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegCurvetoQuadraticSmoothRel(float,float)}.

createSVGPathSegLinetoAbs

public SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(float x_value, float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegLinetoAbs(float,float)}.

createSVGPathSegLinetoHorizontalAbs

public SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(float x_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegLinetoHorizontalAbs(float)}.

createSVGPathSegLinetoHorizontalRel

public SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(float x_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegLinetoHorizontalRel(float)}.

createSVGPathSegLinetoRel

public SVGPathSegLinetoRel createSVGPathSegLinetoRel(float x_value, float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegLinetoRel(float,float)}.

createSVGPathSegLinetoVerticalAbs

public SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegLinetoVerticalAbs(float)}.

createSVGPathSegLinetoVerticalRel

public SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegLinetoVerticalRel(float)}.

createSVGPathSegMovetoAbs

public SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(float x_value, float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegMovetoAbs(float,float)}.

createSVGPathSegMovetoRel

public SVGPathSegMovetoRel createSVGPathSegMovetoRel(float x_value, float y_value)
DOM: Implements {@link SVGPathElement#createSVGPathSegMovetoRel(float,float)}.

getAnimatedNormalizedPathSegList

public SVGPathSegList getAnimatedNormalizedPathSegList()
DOM: Implements {@link SVGPathElement#getAnimatedNormalizedPathSegList()}.

getAnimatedPathSegList

public SVGPathSegList getAnimatedPathSegList()
DOM: Implements {@link SVGPathElement#getAnimatedPathSegList()}.

getLocalName

public String getLocalName()
DOM: Implements {@link org.w3c.dom.Node#getLocalName()}.

getNormalizedPathSegList

public SVGPathSegList getNormalizedPathSegList()
DOM: Implements {@link SVGPathElement#getNormalizedPathSegList()}.

getPathLength

public SVGAnimatedNumber getPathLength()
DOM: Implements {@link SVGPathElement#getPathLength()}.

getPathSegAtLength

public int getPathSegAtLength(float distance)
DOM: Implements {@link SVGPathElement#getPathSegAtLength(float)}.

getPathSegList

public SVGPathSegList getPathSegList()
DOM: Implements {@link SVGPathElement#getPathSegList()}.

getPointAtLength

public SVGPoint getPointAtLength(float distance)
DOM: Implements {@link SVGPathElement#getPointAtLength(float)}.

getTotalLength

public float getTotalLength()
DOM: Implements {@link SVGPathElement#getTotalLength()}.

getTraitInformationTable

protected DoublyIndexedTable getTraitInformationTable()
Returns the table of TraitInformation objects for this element.

initializeAllLiveAttributes

protected void initializeAllLiveAttributes()
Initializes all live attributes for this element.

newNode

protected Node newNode()
Returns a new uninitialized instance of this object's class.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.