Class PatternSVG

    • Field Detail

      • gradientUnits

        int gradientUnits
      • x

        float x
      • y

        float y
      • width

        float width
      • height

        float height
      • patternXform

        java.awt.geom.AffineTransform patternXform
      • viewBox

        java.awt.geom.Rectangle2D.Float viewBox
      • texPaint

        java.awt.Paint texPaint
    • Constructor Detail

      • PatternSVG

        public PatternSVG()
        Creates a new instance of Gradient
    • Method Detail

      • 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
      • getPaint

        public java.awt.Paint getPaint​(java.awt.geom.Rectangle2D bounds,
                                       java.awt.geom.AffineTransform xform)
        Description copied from class: FillElement
        Requests the paint defined by this element. Passes in information to allow paint to be customized
        Specified by:
        getPaint in class FillElement
        Parameters:
        bounds - - bounding box of shape being rendered
        xform - - The current transformation that the shape is being rendered under.
        Returns:
        paint object
      • 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