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

Constructor Index

 o ShadowFilter()
 o ShadowFilter(int, int, int, int)

Method Index

 o getOpacity()
 o getRadius()
Get the radius of the kernel.
 o getShadowColor()
 o getXOffset()
 o getYOffset()
 o imageComplete(int)
 o setOpacity(int)
 o setRadius(int)
Set the radius of the kernel, and hence the amount of blur.
 o setShadowColor(int)
 o setXOffset(int)
 o setYOffset(int)
 o toString()
 o transformSpace(Rectangle)

Constructors

 o ShadowFilter
 public ShadowFilter()
 o ShadowFilter
 public ShadowFilter(int radius,
                     int xOffset,
                     int yOffset,
                     int opacity)

Methods

 o setXOffset
 public void setXOffset(int xOffset)
 o getXOffset
 public int getXOffset()
 o setYOffset
 public void setYOffset(int yOffset)
 o getYOffset
 public int getYOffset()
 o 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.
 o getRadius
 public int getRadius()
Get the radius of the kernel.

Returns:
the radius
 o setOpacity
 public void setOpacity(int opacity)
 o getOpacity
 public int getOpacity()
 o setShadowColor
 public void setShadowColor(int shadowColor)
 o getShadowColor
 public int getShadowColor()
 o transformSpace
 protected void transformSpace(java.awt.Rectangle r)
Overrides:
transformSpace in class com.jhlabs.image.WholeImageFilter
 o imageComplete
 public void imageComplete(int status)
Overrides:
imageComplete in class java.awt.image.ImageFilter
 o toString
 public java.lang.String toString()
Overrides:
toString in class java.lang.Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index