Class Rect

    • Field Detail

      • x

        float x
      • y

        float y
      • width

        float width
      • height

        float height
      • rx

        float rx
      • ry

        float ry
      • rect

        java.awt.geom.RectangularShape rect
    • Constructor Detail

      • Rect

        public Rect()
        Creates a new instance of Rect
    • Method Detail

      • writeObject

        private void writeObject​(java.io.ObjectOutputStream out)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • readObject

        private void readObject​(java.io.ObjectInputStream in)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • 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
      • 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