public interface ShadowGenerator
Modifier and Type | Method and Description |
---|---|
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.
|
java.awt.image.BufferedImage |
createDropShadow(java.awt.image.BufferedImage source)
Creates and returns an image containing the drop shadow for the
specified source image.
|
java.awt.image.BufferedImage createDropShadow(java.awt.image.BufferedImage source)
source
- the source image.int calculateOffsetX()
int calculateOffsetY()