Class RenderableElement

    • Field Detail

      • cachedXform

        java.awt.geom.AffineTransform cachedXform
      • cachedClip

        java.awt.Shape cachedClip
      • VECTOR_EFFECT_NON_SCALING_STROKE

        public static final int VECTOR_EFFECT_NON_SCALING_STROKE
        See Also:
        Constant Field Values
      • vectorEffect

        int vectorEffect
    • Constructor Detail

      • RenderableElement

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

        public RenderableElement​(java.lang.String id,
                                 SVGElement parent)
    • 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 TransformableElement
        Throws:
        SVGException
      • pick

        abstract void pick​(java.awt.geom.Point2D point,
                           boolean boundingBox,
                           java.util.List<java.util.List<SVGElement>> retVec)
                    throws SVGException
        Throws:
        SVGException
      • pick

        abstract void pick​(java.awt.geom.Rectangle2D pickArea,
                           java.awt.geom.AffineTransform ltw,
                           boolean boundingBox,
                           java.util.List<java.util.List<SVGElement>> retVec)
                    throws SVGException
        Throws:
        SVGException
      • beginLayer

        protected void beginLayer​(java.awt.Graphics2D g)
                           throws SVGException
        Pushes transform stack, transforms to local coordinates and sets up clipping mask.
        Parameters:
        g - Graphics context
        Throws:
        SVGException
      • finishLayer

        protected void finishLayer​(java.awt.Graphics2D g)
        Restores transform and clipping values to the way they were before this layer was drawn.
        Parameters:
        g -