Class Tspan

    • Field Detail

      • x

        float[] x
      • y

        float[] y
      • dx

        float[] dx
      • dy

        float[] dy
      • rotate

        float[] rotate
      • text

        private java.lang.String text
    • Constructor Detail

      • Tspan

        public Tspan()
        Creates a new instance of Stop
    • Method Detail

      • loaderAddText

        public void loaderAddText​(SVGLoaderHelper helper,
                                  java.lang.String text)
        Called during load process to add text scanned within a tag
        Overrides:
        loaderAddText in class SVGElement
      • 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 RenderableElement
        Throws:
        SVGException
      • appendToShape

        public void appendToShape​(java.awt.geom.GeneralPath addShape,
                                  java.awt.geom.Point2D cursor)
                           throws SVGException
        Throws:
        SVGException
      • renderSysFont

        protected void renderSysFont​(java.awt.Graphics2D g,
                                     java.awt.Font font)
                              throws SVGException
        Throws:
        SVGException
      • 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.
        Overrides:
        updateTime in class TransformableElement
        Returns:
        - true if this node has changed state as a result of the time update
        Throws:
        SVGException
      • getText

        public java.lang.String getText()
      • setText

        public void setText​(java.lang.String text)