com.jhlabs.image

Class EmbossFilter

Implemented Interfaces:
BufferedImageOp, Cloneable

public class EmbossFilter
extends WholeImageFilter

A class to emboss an image.

Field Summary

Fields inherited from class com.jhlabs.image.WholeImageFilter

originalSpace, transformedSpace

Constructor Summary

EmbossFilter()

Method Summary

protected int[]
filterPixels(int width, int height, int[] inPixels, Rectangle transformedSpace)
float
getAzimuth()
float
getBumpHeight()
float
getElevation()
boolean
getEmboss()
void
setAzimuth(float azimuth)
void
setBumpHeight(float bumpHeight)
void
setElevation(float elevation)
void
setEmboss(boolean emboss)
String
toString()

Methods inherited from class com.jhlabs.image.WholeImageFilter

filter, filterPixels, transformSpace

Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp

clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB

Constructor Details

EmbossFilter

public EmbossFilter()

Method Details

filterPixels

protected int[] filterPixels(int width,
                             int height,
                             int[] inPixels,
                             Rectangle transformedSpace)
Overrides:
filterPixels in interface WholeImageFilter

getAzimuth

public float getAzimuth()

getBumpHeight

public float getBumpHeight()

getElevation

public float getElevation()

getEmboss

public boolean getEmboss()

setAzimuth

public void setAzimuth(float azimuth)

setBumpHeight

public void setBumpHeight(float bumpHeight)

setElevation

public void setElevation(float elevation)

setEmboss

public void setEmboss(boolean emboss)

toString

public String toString()