code: 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;
  
  	}
docs: Gets a MattePainter object.
  
  @param width
  the width
  @param height
  the height
  @param fractions
  the fractions
  @param colors
  the colors
  @return the MattePainter object