C# Class StdPaint.CheckeredBufferBrush

A buffer brush that produces a checkered pattern when used.
Inheritance: BufferBrush
Afficher le fichier Open project: TheBerkin/StdPaint

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

GetColor() public méthode

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.
Résultat BufferColor