public class EmbossMaskFilter extends MaskFilter
Constructor and Description |
---|
EmbossMaskFilter(float[] direction,
float ambient,
float specular,
float blurRadius)
Create an emboss maskfilter
|
public EmbossMaskFilter(float[] direction, float ambient, float specular, float blurRadius)
direction
- array of 3 scalars [x, y, z] specifying the direction of the light sourceambient
- 0...1 amount of ambient lightspecular
- coefficient for specular highlights (e.g. 8)blurRadius
- amount to blur before applying lighting (e.g. 3)