public static MattePainter getMattePainter ( final int width , final int height , final float [ ] fractions , final Color ... colors ) { final LinearGradientPaint gradientPaint = new LinearGradientPaint ( 0.0f , 0.0f , width , height , fractions , colors ) ; final MattePainter mattePainter = new MattePainter ( gradientPaint ) ; return mattePainter ; }
Gets a MattePainter object .