Class SVGPointShapeElement

All Implemented Interfaces:
Serializable, AnimationTarget, XMLConstants, CSSNavigableNode, CSSStylableElement, NodeEventTarget, ExtendedNode, ExtendedTraitAccess, SVGMotionAnimatableElement, TraitAccess, NodeXBL, XBLManagerData, CSSConstants, SVGConstants, ElementTraversal, Element, EventTarget, Node, org.w3c.dom.svg.SVGAnimatedPoints, org.w3c.dom.svg.SVGElement
Direct Known Subclasses:
SVGOMPolygonElement, SVGOMPolylineElement

public abstract class SVGPointShapeElement extends SVGGraphicsElement implements org.w3c.dom.svg.SVGAnimatedPoints
This class provides a common superclass for shape elements that are defined with a 'points' attribute (i.e., polygon and polyline).
See Also:
  • Field Details

    • xmlTraitInformation

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

      protected SVGOMAnimatedPoints points
      The 'points' attribute value.
  • Constructor Details

    • SVGPointShapeElement

      protected SVGPointShapeElement()
      Creates a new SVGPointShapeElement object.
    • SVGPointShapeElement

      public SVGPointShapeElement(String prefix, AbstractDocument owner)
      Creates a new SVGPointShapeElement 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
    • getSVGOMAnimatedPoints

      public SVGOMAnimatedPoints getSVGOMAnimatedPoints()
      Gets the SVGOMAnimatedPoints object that manages the point list for this element.
    • getPoints

      public org.w3c.dom.svg.SVGPointList getPoints()
      DOM: Implements SVGAnimatedPoints.getPoints().
      Specified by:
      getPoints in interface org.w3c.dom.svg.SVGAnimatedPoints
    • getAnimatedPoints

      public org.w3c.dom.svg.SVGPointList getAnimatedPoints()
      DOM: Implements SVGAnimatedPoints.getAnimatedPoints().
      Specified by:
      getAnimatedPoints in interface org.w3c.dom.svg.SVGAnimatedPoints
    • getTraitInformationTable

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