org.apache.batik.ext.awt.image.renderable
public interface SpecularLightingRable extends FilterColorInterpolation
Method Summary | |
---|---|
double[] | getKernelUnitLength()
Returns the min [dx,dy] distance in user space for evalutation of
the sobel gradient. |
double | getKs() |
Light | getLight() |
Rectangle2D | getLitRegion() |
Filter | getSource()
Returns the source to be filtered |
double | getSpecularExponent() |
double | getSurfaceScale() |
void | setKernelUnitLength(double[] kernelUnitLength)
Sets the min [dx,dy] distance in user space for evaluation of the
sobel gradient. |
void | setKs(double ks)
Sets the specular constant, or ks |
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 | setSpecularExponent(double specularExponent)
Sets the specular exponent |
void | setSurfaceScale(double surfaceScale)
Sets the surface scale |
Returns: specular constant, or ks.
Returns: Light object used for the diffuse lighting
Returns: the litRegion for this filter
Returns: specular exponent, or kd
Returns: surfaceScale
Parameters: light New Light object