public interface PaintedGraphic extends PaintedObject
Modifier and Type | Method and Description |
---|---|
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.
|
getBounds, paint
float getLineWidth()
java.awt.Stroke getStroke()
boolean hit(java.awt.geom.Rectangle2D r)
boolean intersects(java.awt.geom.Rectangle2D r)
void setLineWidth(float lineWidth)