org.jdrawing.graphics
Class AbstractFillRect
java.lang.Object
org.jdrawing.graphics.GraphicsOperation
org.jdrawing.graphics.RectangleOperation
org.jdrawing.graphics.AbstractFillRect
- All Implemented Interfaces:
- DrawingElement
- Direct Known Subclasses:
- Fill3DRect, FillRect
- public abstract class AbstractFillRect
- extends RectangleOperation
Base class for drawing operations that fill the rectangle.
Constructor Summary |
AbstractFillRect(int x,
int y,
int width,
int height)
Returns AbstractFillRect with given rectangle. |
AbstractFillRect(int x,
int y,
int width,
int height,
Style style)
Returns AbstractFillRect with given rectangle. |
Method Summary |
java.awt.Shape |
getShapeOfOperation()
Returns shape of the area updated by this operation. |
Methods inherited from class org.jdrawing.graphics.RectangleOperation |
equals, getHeight, getWidth, getX, getY, hashCode, setHeight, setRectangle, setWidth, setX, setY |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AbstractFillRect
public AbstractFillRect(int x,
int y,
int width,
int height)
- Returns AbstractFillRect with given rectangle.
- Parameters:
x
- left edge of the rectangley
- top edge of the rectanglewidth
- width of the rectangleheight
- height of the rectangle
AbstractFillRect
public AbstractFillRect(int x,
int y,
int width,
int height,
Style style)
- Returns AbstractFillRect with given rectangle.
- Parameters:
x
- left edge of the rectangley
- top edge of the rectanglewidth
- width of the rectangleheight
- height of the rectangle
getShapeOfOperation
public java.awt.Shape getShapeOfOperation()
- Returns shape of the area updated by this operation.
- Specified by:
getShapeOfOperation
in class GraphicsOperation
- Returns:
- the shape of updated area