|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ShadowGenerator
An interface that defines the API for a shadow generator. Some plot classes use this to create drop shadows.
| Method Summary | |
|---|---|
int |
calculateOffsetX()
Calculates the x-offset for drawing the shadow image relative to the source. |
int |
calculateOffsetY()
Calculates the y-offset for drawing the shadow image relative to the source. |
BufferedImage |
createDropShadow(BufferedImage source)
Creates and returns an image containing the drop shadow for the specified source image. |
| Method Detail |
|---|
BufferedImage createDropShadow(BufferedImage source)
source - the source image.
int calculateOffsetX()
int calculateOffsetY()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||