C# Class StdPaint.CheckeredBufferBrush

A buffer brush that produces a checkered pattern when used.
Inheritance: BufferBrush
Mostra file Open project: TheBerkin/StdPaint

Public Methods

Method Description
CheckeredBufferBrush ( BufferColor colorA, BufferColor colorB ) : System

Creates a new CheckeredBufferBrush with the specified colors.

GetColor ( int x, int y ) : BufferColor

Gets the color of the brush at the specified coordinates.

Method Details

CheckeredBufferBrush() public method

Creates a new CheckeredBufferBrush with the specified colors.
public CheckeredBufferBrush ( BufferColor colorA, BufferColor colorB ) : System
colorA BufferColor The first color in the pattern.
colorB BufferColor The second color in the pattern.
return System

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