Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.gvt
Class RasterImageNode  view RasterImageNode download RasterImageNode.java

java.lang.Object
  extended byorg.apache.batik.gvt.AbstractGraphicsNode
      extended byorg.apache.batik.gvt.RasterImageNode
All Implemented Interfaces:
GraphicsNode

public class RasterImageNode
extends AbstractGraphicsNode

A graphics node that represents a raster image.

Version:
$Id: RasterImageNode.java,v 1.18 2005/03/27 08:58:34 cam Exp $

Field Summary
protected  org.apache.batik.ext.awt.image.renderable.Filter image
          The renderable image that represents this image node.
 
Fields inherited from class org.apache.batik.gvt.AbstractGraphicsNode
changeCompletedEvent, changeStartedEvent, clip, composite, enableBackgroundGraphicsNodeRable, EPSILON, filter, graphicsNodeRable, hints, inverseTransform, isVisible, listeners, mask, parent, pointerEventType, root, transform, weakRef
 
Fields inherited from interface org.apache.batik.gvt.GraphicsNode
ALL, FILL, IDENTITY, NONE, PAINTED, STROKE, VISIBLE, VISIBLE_FILL, VISIBLE_PAINTED, VISIBLE_STROKE
 
Constructor Summary
RasterImageNode()
          Constructs a new empty RasterImageNode.
 
Method Summary
 java.awt.geom.Rectangle2D getGeometryBounds()
          Returns the bounds of the area covered by this node, without taking any of its rendering attribute into account.
 org.apache.batik.ext.awt.image.renderable.Filter getGraphicsNodeRable()
          Returns the RenderableImage for this node.
 org.apache.batik.ext.awt.image.renderable.Filter getImage()
          Returns the raster image of this raster image node.
 java.awt.geom.Rectangle2D getImageBounds()
          Returns the bounds of this raster image node.
 java.awt.Shape getOutline()
          Returns the outline of this node.
 java.awt.geom.Rectangle2D getPrimitiveBounds()
          Returns the bounds of the area covered by this node's primitive paint.
 java.awt.geom.Rectangle2D getSensitiveBounds()
          Returns the bounds of the sensitive area covered by this node, This includes the stroked area but does not include the effects of clipping, masking or filtering.
 void primitivePaint(java.awt.Graphics2D g2d)
          Paints this node without applying Filter, Mask, Composite and clip.
 void setImage(org.apache.batik.ext.awt.image.renderable.Filter newImage)
          Sets the raster image of this raster image node.
 
Methods inherited from class org.apache.batik.gvt.AbstractGraphicsNode
contains, fireGraphicsNodeChangeCompleted, fireGraphicsNodeChangeStarted, fireGraphicsNodeChangeStarted, fireGraphicsNodeChangeStarted, getBounds, getClip, getComposite, getEnableBackgroundGraphicsNodeRable, getFilter, getGlobalTransform, getGraphicsNodeRable, getInverseTransform, getMask, getParent, getPointerEventType, getRenderingHints, getRoot, getTransform, getTransformedBounds, getTransformedGeometryBounds, getTransformedPrimitiveBounds, getTransformedSensitiveBounds, getWeakReference, intersects, invalidateGeometryCache, isAntialiasedClip, isOffscreenBufferNeeded, isVisible, nodeHitAt, normalizeRectangle, paint, setClip, setComposite, setFilter, setMask, setParent, setPointerEventType, setRenderingHint, setRenderingHints, setRenderingHints, setRoot, setTransform, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

image

protected org.apache.batik.ext.awt.image.renderable.Filter image
The renderable image that represents this image node.

Constructor Detail

RasterImageNode

public RasterImageNode()
Constructs a new empty RasterImageNode.

Method Detail

setImage

public void setImage(org.apache.batik.ext.awt.image.renderable.Filter newImage)
Sets the raster image of this raster image node.


getImage

public org.apache.batik.ext.awt.image.renderable.Filter getImage()
Returns the raster image of this raster image node.


getImageBounds

public java.awt.geom.Rectangle2D getImageBounds()
Returns the bounds of this raster image node.


getGraphicsNodeRable

public org.apache.batik.ext.awt.image.renderable.Filter getGraphicsNodeRable()
Returns the RenderableImage for this node. The returned RenderableImage this node before any of the filter operations have been applied.


primitivePaint

public void primitivePaint(java.awt.Graphics2D g2d)
Paints this node without applying Filter, Mask, Composite and clip.


getPrimitiveBounds

public java.awt.geom.Rectangle2D getPrimitiveBounds()
Returns the bounds of the area covered by this node's primitive paint.


getGeometryBounds

public java.awt.geom.Rectangle2D getGeometryBounds()
Returns the bounds of the area covered by this node, without taking any of its rendering attribute into account. That is, exclusive of any clipping, masking, filtering or stroking, for example.


getSensitiveBounds

public java.awt.geom.Rectangle2D getSensitiveBounds()
Returns the bounds of the sensitive area covered by this node, This includes the stroked area but does not include the effects of clipping, masking or filtering.


getOutline

public java.awt.Shape getOutline()
Returns the outline of this node.