org.apache.batik.ext.awt.image.renderable
public interface DiffuseLightingRable extends FilterColorInterpolation
Method Summary | |
---|---|
double | getKd() |
double[] | getKernelUnitLength()
Returns the min [dx,dy] distance in user space for evalutation of
the sobel gradient. |
Light | getLight() |
Rectangle2D | getLitRegion() |
Filter | getSource()
Returns the source to be filtered |
double | getSurfaceScale() |
void | setKd(double kd)
Sets the diffuse constant, or kd |
void | setKernelUnitLength(double[] kernelUnitLength)
Sets the min [dx,dy] distance in user space for evaluation of the
sobel gradient. |
void | setLight(Light light) |
void | setLitRegion(Rectangle2D litRegion)
Sets the litRegion for this filter |
void | setSource(Filter src)
Sets the source to be filtered |
void | setSurfaceScale(double surfaceScale)
Sets the surface scale |
Returns: diffuse constant, or kd.
Returns: Light object used for the diffuse lighting
Returns: the litRegion for this filter
Returns: surfaceScale
Parameters: light New Light object