|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jdrawing.graphics.GraphicsOperation org.jdrawing.graphics.ShapeOperation org.jdrawing.graphics.Fill
Graphics element which corresponds to Graphics2D.fill(java.awt.Shape)
Constructor Summary | |
Fill(java.awt.Shape shape)
Returns Fill with given shape. |
|
Fill(java.awt.Shape shape,
Style style)
Returns Fill with given shape. |
Method Summary | |
java.awt.Shape |
getShapeOfOperation()
Returns shape of the area updated by this operation. |
void |
paintOperation(java.awt.Graphics2D graphics)
Performs drawing operation. |
Methods inherited from class org.jdrawing.graphics.ShapeOperation |
getShape, setShape |
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 Fill(java.awt.Shape shape)
shape
- shape to be used for this operationpublic Fill(java.awt.Shape shape, Style style)
shape
- shape to be used for this operationMethod Detail |
public void paintOperation(java.awt.Graphics2D graphics)
graphics.fill ()
.
paintOperation
in class GraphicsOperation
graphics
- 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 |