C# Class StdPaint.RandomColorBufferBrush

Produces a random pattern of colors determined by a random number generator.
Inheritance: BufferBrush
显示文件 Open project: TheBerkin/StdPaint

Public Methods

Method Description
GetColor ( int x, int y ) : BufferColor

Gets the color of the brush at the specified coordinates.

RandomColorBufferBrush ( ) : System

Creates a new RandomColorBufferBrush with the specified colors.

Method Details

GetColor() public method

Gets the color of the brush at the specified coordinates.
public GetColor ( int x, int y ) : BufferColor
x int The X coordinate.
y int The Y coordinate.
return BufferColor

RandomColorBufferBrush() public method

Creates a new RandomColorBufferBrush with the specified colors.
public RandomColorBufferBrush ( ) : System
return System