FileDocCategorySizeDatePackage
TableMaskFilter.javaAPI DocAndroid 5.1 API1475Thu Mar 12 22:22:30 GMT 2015android.graphics

TableMaskFilter

public class TableMaskFilter extends MaskFilter
hide

Fields Summary
Constructors Summary
public TableMaskFilter(byte[] table)

        if (table.length < 256) {
            throw new RuntimeException("table.length must be >= 256");
        }
        native_instance = nativeNewTable(table);
    
private TableMaskFilter(long ni)

        native_instance = ni;
    
Methods Summary
public static android.graphics.TableMaskFilterCreateClipTable(int min, int max)

        return new TableMaskFilter(nativeNewClip(min, max));
    
public static android.graphics.TableMaskFilterCreateGammaTable(float gamma)

        return new TableMaskFilter(nativeNewGamma(gamma));
    
private static native longnativeNewClip(int min, int max)

private static native longnativeNewGamma(float gamma)

private static native longnativeNewTable(byte[] table)