FileDocCategorySizeDatePackage
EmbossMaskFilter.javaAPI DocAndroid 1.5 API1516Wed May 06 22:42:00 BST 2009android.graphics

EmbossMaskFilter

public class EmbossMaskFilter extends MaskFilter

Fields Summary
Constructors Summary
public EmbossMaskFilter(float[] direction, float ambient, float specular, float blurRadius)
Create an emboss maskfilter

param
direction array of 3 scalars [x, y, z] specifying the direction of the light source
param
ambient 0...1 amount of ambient light
param
specular coefficient for specular highlights (e.g. 8)
param
blurRadius amount to blur before applying lighting (e.g. 3)
return
the emboss maskfilter

        if (direction.length < 3) {
            throw new ArrayIndexOutOfBoundsException();
        }
        native_instance = nativeConstructor(direction, ambient, specular, blurRadius);
    
Methods Summary
private static native intnativeConstructor(float[] direction, float ambient, float specular, float blurRadius)