public abstract class AbstractAnchorPainter extends java.lang.Object implements Painter
构造器和说明 |
---|
AbstractAnchorPainter(java.awt.Container container) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
drawHotspot(java.awt.Graphics g,
int x,
int y,
int width,
int height,
java.awt.Color bColor) |
protected void |
drawHotspot(java.awt.Graphics g,
java.awt.Rectangle box,
java.awt.Color bColor) |
void |
setRenderingBounds(java.awt.Rectangle rect) |
protected java.awt.Container container
protected java.awt.Rectangle hotspot
public void setRenderingBounds(java.awt.Rectangle rect)
setRenderingBounds
在接口中 Painter
protected void drawHotspot(java.awt.Graphics g, java.awt.Rectangle box, java.awt.Color bColor)
protected void drawHotspot(java.awt.Graphics g, int x, int y, int width, int height, java.awt.Color bColor)