com.aspose.html.dom.svg.paths

Interface ISVGAnimatedPathData

  • All Known Implementing Classes:
    SVGPathElement


    @DOMObjectAttribute
     @DOMNameAttribute(name="SVGAnimatedPathData")
    public interface ISVGAnimatedPathData

    he SVGAnimatedPathData interface supports elements which have a ‘d’ attribute which holds SVG path data, and supports the ability to animate that attribute.

    • Method Detail

      • getPathSegList

        @DOMNameAttribute(name="pathSegList")
        SVGPathSegList getPathSegList()

        Provides access to the base (i.e., static) contents of the ‘d’ attribute in a form which matches one-for-one with SVG's syntax. Thus, if the ‘d’ attribute has an "absolute moveto (M)" and an "absolute arcto (A)" command, then pathSegList will have two entries: a SVG_PATHSEG_MOVETO_ABS and a SVG_PATHSEG_ARC_ABS.

        Value: The path segment list.
      • getAnimatedPathSegList

        @DOMNameAttribute(name="animatedPathSegList")
        SVGPathSegList getAnimatedPathSegList()

        Provides access to the current animated contents of the ‘d’ attribute in a form which matches one-for-one with SVG's syntax. If the given attribute or property is being animated, contains the current animated value of the attribute or property, and both the object itself and its contents are read only. If the given attribute or property is not currently being animated, contains the same value as pathSegList.

        Value: The animated path segment list.