C# Class StdPaint.SolidBufferBrush

A buffer brush that produces a solid color.
Inheritance: BufferBrush
Mostra file Open project: TheBerkin/StdPaint

Public Methods

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

Gets the color of the brush at the specified coordinates.

SolidBufferBrush ( BufferColor color ) : System

Creates a new SolidBufferBrush of a specified color.

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

SolidBufferBrush() public method

Creates a new SolidBufferBrush of a specified color.
public SolidBufferBrush ( BufferColor color ) : System
color BufferColor The color of the brush.
return System