|
||||||||||
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
Base class for operations, which get Shape as argument.
Constructor Summary | |
ShapeOperation(java.awt.Shape shape)
Returns ShapeOperation with given shape. |
|
ShapeOperation(java.awt.Shape shape,
Style style)
Returns ShapeOperation with given shape. |
Method Summary | |
java.awt.Shape |
getShape()
Returns shape currently used by this operation. |
void |
setShape(java.awt.Shape shape)
Sets shape for this operation. |
Methods inherited from class org.jdrawing.graphics.GraphicsOperation |
contains, getBounds, getBounds2D, getPosition, getShapeOfOperation, getStyle, intersects, paint, paintOperation, setPosition, setStyle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ShapeOperation(java.awt.Shape shape)
shape
- shape to be used for this operationpublic ShapeOperation(java.awt.Shape shape, Style style)
shape
- shape to be used for this operationMethod Detail |
public void setShape(java.awt.Shape shape)
shape
- shape to be used for this operationpublic java.awt.Shape getShape()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |