code: public void texture(Shape shape, Image image, float scaleX, float scaleY,
  			boolean fit) {
  		predraw();
  		TextureImpl.bindNone();
  		currentColor.bind();
  
  		if (fit) {
  			ShapeRenderer.textureFit(shape, image, scaleX, scaleY);
  		} else {
  			ShapeRenderer.texture(shape, image, scaleX, scaleY);
  		}
  		
  		postdraw();
  	}
docs: Draw the the given shape filled in with a texture
  
  @param shape
  The shape to texture.
  @param image
  The image to tile across the shape
  @param scaleX
  The scale to apply on the x axis for texturing
  @param scaleY
  The scale to apply on the y axis for texturing
  @param fit
  True if we want to fit the image on to the shape