|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jdrawing.graphics.GraphicsOperation
org.jdrawing.graphics.DrawRenderedImage
Graphics element which corresponds to
Graphics2D.drawRenderedImage(java.awt.image.RenderedImage, java.awt.geom.AffineTransform).
| Constructor Summary | |
DrawRenderedImage(java.awt.image.RenderedImage renderedImage)
Returns DrawRenderedImage with given image. |
|
DrawRenderedImage(java.awt.image.RenderedImage renderedImage,
Style style)
Returns DrawRenderedImage with given image and style. |
|
| Method Summary | |
java.awt.image.RenderedImage |
getRenderedImage()
Gets the rendered image to be drawn. |
java.awt.Shape |
getShapeOfOperation()
Returns shape of the area updated by this operation. |
void |
paintOperation(java.awt.Graphics2D graphics)
Performs drawing operation. |
void |
setRenderedImage(java.awt.image.RenderedImage renderedImage)
Sets the rendered image to be drawn. |
| Methods inherited from class org.jdrawing.graphics.GraphicsOperation |
contains, getBounds, getBounds2D, getPosition, getStyle, intersects, paint, setPosition, setStyle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DrawRenderedImage(java.awt.image.RenderedImage renderedImage)
renderedImage - the specified image to be drawn
public DrawRenderedImage(java.awt.image.RenderedImage renderedImage,
Style style)
renderedImage - the specified image to be drawnstyle - Style to be used| Method Detail |
public void setRenderedImage(java.awt.image.RenderedImage renderedImage)
renderedImage - the specified image to be drawnpublic java.awt.image.RenderedImage getRenderedImage()
public void paintOperation(java.awt.Graphics2D graphics)
graphics.drawRenderedImage ().
paintOperation in class GraphicsOperationgraphics - graphics context to use for paintingpublic java.awt.Shape getShapeOfOperation()
getShapeOfOperation in class GraphicsOperation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||