|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PaintedGraphic
The interface for a set of utility classes that paint shapes or other kinds of graphical objects. The purpose of these classes is to provide a simple interface for basic graphical drawing operations. Generally, they combine a number of different objects from the Java2D API in the most commonly useful way.
Method Summary | |
---|---|
float |
getLineWidth()
Get the line width. |
java.awt.Stroke |
getStroke()
Get the stroke. |
boolean |
hit(java.awt.geom.Rectangle2D r)
Test if this shape is hit by the given rectangle. |
boolean |
intersects(java.awt.geom.Rectangle2D r)
Test if this shape intersects the given rectangle. |
void |
setLineWidth(float lineWidth)
Set the line width. |
Methods inherited from interface diva.util.java2d.PaintedObject |
---|
getBounds, paint |
Method Detail |
---|
float getLineWidth()
java.awt.Stroke getStroke()
boolean hit(java.awt.geom.Rectangle2D r)
boolean intersects(java.awt.geom.Rectangle2D r)
void setLineWidth(float lineWidth)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |