Class SVGOMPathElement

All Implemented Interfaces:
Serializable, AnimationTarget, XMLConstants, CSSNavigableNode, CSSStylableElement, NodeEventTarget, ExtendedNode, ExtendedTraitAccess, SVGMotionAnimatableElement, SVGPathSegConstants, TraitAccess, NodeXBL, XBLManagerData, CSSConstants, SVGConstants, ElementTraversal, Element, EventTarget, Node, org.w3c.dom.svg.SVGAnimatedPathData, org.w3c.dom.svg.SVGElement, org.w3c.dom.svg.SVGExternalResourcesRequired, org.w3c.dom.svg.SVGLangSpace, org.w3c.dom.svg.SVGLocatable, org.w3c.dom.svg.SVGPathElement, org.w3c.dom.svg.SVGStylable, org.w3c.dom.svg.SVGTests, org.w3c.dom.svg.SVGTransformable

public class SVGOMPathElement extends SVGGraphicsElement implements org.w3c.dom.svg.SVGPathElement, SVGPathSegConstants
This class implements SVGPathElement.
See Also:
  • Field Details

    • xmlTraitInformation

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

      protected SVGOMAnimatedPathData d
      The 'd' attribute value.
  • Constructor Details

    • 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 Details

    • initializeAllLiveAttributes

      protected void initializeAllLiveAttributes()
      Initializes all live attributes for this element.
      Overrides:
      initializeAllLiveAttributes in class SVGGraphicsElement
    • getLocalName

      public String getLocalName()
      DOM: Implements Node.getLocalName().
      Specified by:
      getLocalName in interface Node
      Overrides:
      getLocalName in class AbstractNode
    • getPathLength

      public org.w3c.dom.svg.SVGAnimatedNumber getPathLength()
      DOM: Implements SVGPathElement.getPathLength().
      Specified by:
      getPathLength in interface org.w3c.dom.svg.SVGPathElement
    • getTotalLength

      public float getTotalLength()
      DOM: Implements SVGPathElement.getTotalLength().
      Specified by:
      getTotalLength in interface org.w3c.dom.svg.SVGPathElement
    • getPointAtLength

      public org.w3c.dom.svg.SVGPoint getPointAtLength(float distance)
      DOM: Implements SVGPathElement.getPointAtLength(float).
      Specified by:
      getPointAtLength in interface org.w3c.dom.svg.SVGPathElement
    • getPathSegAtLength

      public int getPathSegAtLength(float distance)
      DOM: Implements SVGPathElement.getPathSegAtLength(float).
      Specified by:
      getPathSegAtLength in interface org.w3c.dom.svg.SVGPathElement
    • getAnimatedPathData

      public SVGOMAnimatedPathData getAnimatedPathData()
      Returns the SVGOMAnimatedPathData object that manages the path data for this element.
    • getPathSegList

      public org.w3c.dom.svg.SVGPathSegList getPathSegList()
      DOM: Implements SVGAnimatedPathData.getPathSegList().
      Specified by:
      getPathSegList in interface org.w3c.dom.svg.SVGAnimatedPathData
    • getNormalizedPathSegList

      public org.w3c.dom.svg.SVGPathSegList getNormalizedPathSegList()
      DOM: Implements SVGAnimatedPathData.getNormalizedPathSegList().
      Specified by:
      getNormalizedPathSegList in interface org.w3c.dom.svg.SVGAnimatedPathData
    • getAnimatedPathSegList

      public org.w3c.dom.svg.SVGPathSegList getAnimatedPathSegList()
      DOM: Implements SVGAnimatedPathData.getAnimatedPathSegList().
      Specified by:
      getAnimatedPathSegList in interface org.w3c.dom.svg.SVGAnimatedPathData
    • getAnimatedNormalizedPathSegList

      public org.w3c.dom.svg.SVGPathSegList getAnimatedNormalizedPathSegList()
      DOM: Implements SVGAnimatedPathData.getAnimatedNormalizedPathSegList().
      Specified by:
      getAnimatedNormalizedPathSegList in interface org.w3c.dom.svg.SVGAnimatedPathData
    • createSVGPathSegClosePath

      public org.w3c.dom.svg.SVGPathSegClosePath createSVGPathSegClosePath()
      DOM: Implements SVGPathElement.createSVGPathSegClosePath().
      Specified by:
      createSVGPathSegClosePath in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegMovetoAbs

      public org.w3c.dom.svg.SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(float x_value, float y_value)
      DOM: Implements SVGPathElement.createSVGPathSegMovetoAbs(float,float).
      Specified by:
      createSVGPathSegMovetoAbs in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegMovetoRel

      public org.w3c.dom.svg.SVGPathSegMovetoRel createSVGPathSegMovetoRel(float x_value, float y_value)
      DOM: Implements SVGPathElement.createSVGPathSegMovetoRel(float,float).
      Specified by:
      createSVGPathSegMovetoRel in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegLinetoAbs

      public org.w3c.dom.svg.SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(float x_value, float y_value)
      DOM: Implements SVGPathElement.createSVGPathSegLinetoAbs(float,float).
      Specified by:
      createSVGPathSegLinetoAbs in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegLinetoRel

      public org.w3c.dom.svg.SVGPathSegLinetoRel createSVGPathSegLinetoRel(float x_value, float y_value)
      DOM: Implements SVGPathElement.createSVGPathSegLinetoRel(float,float).
      Specified by:
      createSVGPathSegLinetoRel in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegLinetoHorizontalAbs

      public org.w3c.dom.svg.SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(float x_value)
      DOM: Implements SVGPathElement.createSVGPathSegLinetoHorizontalAbs(float).
      Specified by:
      createSVGPathSegLinetoHorizontalAbs in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegLinetoHorizontalRel

      public org.w3c.dom.svg.SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(float x_value)
      DOM: Implements SVGPathElement.createSVGPathSegLinetoHorizontalRel(float).
      Specified by:
      createSVGPathSegLinetoHorizontalRel in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegLinetoVerticalAbs

      public org.w3c.dom.svg.SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(float y_value)
      DOM: Implements SVGPathElement.createSVGPathSegLinetoVerticalAbs(float).
      Specified by:
      createSVGPathSegLinetoVerticalAbs in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegLinetoVerticalRel

      public org.w3c.dom.svg.SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(float y_value)
      DOM: Implements SVGPathElement.createSVGPathSegLinetoVerticalRel(float).
      Specified by:
      createSVGPathSegLinetoVerticalRel in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegCurvetoCubicAbs

      public org.w3c.dom.svg.SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(float x_value, float y_value, float x1_value, float y1_value, float x2_value, float y2_value)
      DOM: Implements SVGPathElement.createSVGPathSegCurvetoCubicAbs(float,float,float,float,float,float).
      Specified by:
      createSVGPathSegCurvetoCubicAbs in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegCurvetoCubicRel

      public org.w3c.dom.svg.SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(float x_value, float y_value, float x1_value, float y1_value, float x2_value, float y2_value)
      DOM: Implements SVGPathElement.createSVGPathSegCurvetoCubicRel(float,float,float,float,float,float).
      Specified by:
      createSVGPathSegCurvetoCubicRel in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegCurvetoQuadraticAbs

      public org.w3c.dom.svg.SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(float x_value, float y_value, float x1_value, float y1_value)
      DOM: Implements SVGPathElement.createSVGPathSegCurvetoQuadraticAbs(float,float,float,float).
      Specified by:
      createSVGPathSegCurvetoQuadraticAbs in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegCurvetoQuadraticRel

      public org.w3c.dom.svg.SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(float x_value, float y_value, float x1_value, float y1_value)
      DOM: Implements SVGPathElement.createSVGPathSegCurvetoQuadraticRel(float,float,float,float).
      Specified by:
      createSVGPathSegCurvetoQuadraticRel in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegCurvetoCubicSmoothAbs

      public org.w3c.dom.svg.SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(float x_value, float y_value, float x2_value, float y2_value)
      DOM: Implements SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs(float,float,float,float).
      Specified by:
      createSVGPathSegCurvetoCubicSmoothAbs in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegCurvetoCubicSmoothRel

      public org.w3c.dom.svg.SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(float x_value, float y_value, float x2_value, float y2_value)
      DOM: Implements SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel(float,float,float,float).
      Specified by:
      createSVGPathSegCurvetoCubicSmoothRel in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegCurvetoQuadraticSmoothAbs

      public org.w3c.dom.svg.SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(float x_value, float y_value)
      DOM: Implements SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs(float,float).
      Specified by:
      createSVGPathSegCurvetoQuadraticSmoothAbs in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegCurvetoQuadraticSmoothRel

      public org.w3c.dom.svg.SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(float x_value, float y_value)
      DOM: Implements SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel(float,float).
      Specified by:
      createSVGPathSegCurvetoQuadraticSmoothRel in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegArcAbs

      public org.w3c.dom.svg.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 SVGPathElement.createSVGPathSegArcAbs(float,float,float,float,float,boolean,boolean).
      Specified by:
      createSVGPathSegArcAbs in interface org.w3c.dom.svg.SVGPathElement
    • createSVGPathSegArcRel

      public org.w3c.dom.svg.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 SVGPathElement.createSVGPathSegArcRel(float,float,float,float,float,boolean,boolean).
      Specified by:
      createSVGPathSegArcRel in interface org.w3c.dom.svg.SVGPathElement
    • newNode

      protected Node newNode()
      Returns a new uninitialized instance of this object's class.
      Specified by:
      newNode in class AbstractNode
    • getTraitInformationTable

      protected DoublyIndexedTable getTraitInformationTable()
      Returns the table of TraitInformation objects for this element.
      Overrides:
      getTraitInformationTable in class SVGGraphicsElement