All Packages Class Hierarchy This Package Previous Next Index
Class com.jhlabs.image.ShadowFilter
java.lang.Object
|
+----java.awt.image.ImageFilter
|
+----com.jhlabs.image.WholeImageFilter
|
+----com.jhlabs.image.ShadowFilter
- public class ShadowFilter
- extends com.jhlabs.image.WholeImageFilter
-
ShadowFilter()
-
-
ShadowFilter(int, int, int, int)
-
-
getOpacity()
-
-
getRadius()
- Get the radius of the kernel.
-
getShadowColor()
-
-
getXOffset()
-
-
getYOffset()
-
-
imageComplete(int)
-
-
setOpacity(int)
-
-
setRadius(int)
- Set the radius of the kernel, and hence the amount of blur.
-
setShadowColor(int)
-
-
setXOffset(int)
-
-
setYOffset(int)
-
-
toString()
-
-
transformSpace(Rectangle)
-
ShadowFilter
public ShadowFilter()
ShadowFilter
public ShadowFilter(int radius,
int xOffset,
int yOffset,
int opacity)
setXOffset
public void setXOffset(int xOffset)
getXOffset
public int getXOffset()
setYOffset
public void setYOffset(int yOffset)
getYOffset
public int getYOffset()
setRadius
public void setRadius(int radius)
- Set the radius of the kernel, and hence the amount of blur. The bigger the radius, the longer this filter will take.
- Parameters:
- radius - the radius of the blur in pixels.
getRadius
public int getRadius()
- Get the radius of the kernel.
- Returns:
- the radius
setOpacity
public void setOpacity(int opacity)
getOpacity
public int getOpacity()
setShadowColor
public void setShadowColor(int shadowColor)
getShadowColor
public int getShadowColor()
transformSpace
protected void transformSpace(java.awt.Rectangle r)
- Overrides:
- transformSpace in class com.jhlabs.image.WholeImageFilter
imageComplete
public void imageComplete(int status)
- Overrides:
- imageComplete in class java.awt.image.ImageFilter
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
All Packages Class Hierarchy This Package Previous Next Index