Code example for Paint

Methods: setColorFilter

0
        mMapPinPaint.setAlpha(alpha);
    } 
 
    @Override 
    public void setColorFilter(ColorFilter cf) {
        mMapPinPaint.setColorFilter(cf);
    } 
 
    @Override 
    public int getOpacity() { 
        return PixelFormat.TRANSLUCENT;
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java