| |
|
| java.lang.Object org.apache.batik.gvt.AbstractGraphicsNode org.apache.batik.gvt.CompositeGraphicsNode org.apache.batik.gvt.ImageNode
ImageNode | public class ImageNode extends CompositeGraphicsNode (Code) | | A graphics node that represents an image described as a graphics node.
author: Thierry Kormann version: $Id: ImageNode.java 475477 2006-11-15 22:44:28Z cam $ |
Constructor Summary | |
public | ImageNode() Constructs a new empty ImageNode. |
hitCheckChildren | protected boolean hitCheckChildren(Code) | | |
ImageNode | public ImageNode()(Code) | | Constructs a new empty ImageNode.
|
contains | public boolean contains(Point2D p)(Code) | | Returns true if the specified Point2D is inside the boundary of this
node, false otherwise.
Parameters: p - the specified Point2D in the user space |
getHitCheckChildren | public boolean getHitCheckChildren()(Code) | | |
getImage | public GraphicsNode getImage()(Code) | | Returns the graphics node that represents the image.
|
nodeHitAt | public GraphicsNode nodeHitAt(Point2D p)(Code) | | Returns the GraphicsNode containing point p if this node or one of its
children is sensitive to mouse events at p.
Parameters: p - the specified Point2D in the user space |
paint | public void paint(Graphics2D g2d)(Code) | | Paints this node.
Parameters: g2d - the Graphics2D to use |
setHitCheckChildren | public void setHitCheckChildren(boolean hitCheckChildren)(Code) | | If hitCheckChildren is true then nodeHitAt will return
child nodes of this image. Otherwise it will only
return this node (if the point is in the image).
|
setImage | public void setImage(GraphicsNode newImage)(Code) | | Sets the graphics node that represents the image.
Parameters: newImage - the new graphics node that represents the image |
setVisible | public void setVisible(boolean isVisible)(Code) | | |
|
|
|