[archived content]

Graphics.fillRectangle method

public void fillRectangle(Brush brush, Rect r)
public void fillRectangle(Brush brush, int x, int y, int width, int height)
public void fillRectangle(Color color, Rect r)
public void fillRectangle(Color color, int x, int y, int width, int height)

Fills in a rectangle using the specified Brush or Color. The versions that take Color do not dither.

See also: Graphics, Rect, Brush, Color

Page last modified on May 07, 2007, at 11:20 AM