Class TransformableElement

    • Field Detail

      • xform

        java.awt.geom.AffineTransform xform
    • Constructor Detail

      • TransformableElement

        public TransformableElement()
        Creates a new instance of BoundedElement
      • TransformableElement

        public TransformableElement​(java.lang.String id,
                                    SVGElement parent)
    • Method Detail

      • getXForm

        public java.awt.geom.AffineTransform getXForm()
        Fetches a copy of the cached AffineTransform. Note that this value will only be valid after the node has been updated.
        Returns:
      • build

        protected void build()
                      throws SVGException
        Description copied from class: SVGElement
        Called by internal processes to rebuild the geometry of this node from it's presentation attributes, style attributes and animated tracks.
        Overrides:
        build in class SVGElement
        Throws:
        SVGException
      • shapeToParent

        protected java.awt.Shape shapeToParent​(java.awt.Shape shape)
      • boundsToParent

        protected java.awt.geom.Rectangle2D boundsToParent​(java.awt.geom.Rectangle2D rect)
      • updateTime

        public boolean updateTime​(double curTime)
                           throws SVGException
        Updates all attributes in this diagram associated with a time event. Ie, all attributes with track information.
        Specified by:
        updateTime in class SVGElement
        Returns:
        - true if this node has changed state as a result of the time update
        Throws:
        SVGException