C# Class StdPaint.VerticalStripeBufferBrush

A buffer brush that produces horizontal stripes of different colors.
Inheritance: BufferBrush
Afficher le fichier Open project: TheBerkin/StdPaint

Méthodes publiques

Méthode Description
GetColor ( int x, int y ) : BufferColor

Gets the color of the brush at the specified coordinates.

VerticalStripeBufferBrush ( int thickness ) : System

Creates a new VerticalStripeBufferBrush with the specified colors.

Method Details

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

VerticalStripeBufferBrush() public méthode

Creates a new VerticalStripeBufferBrush with the specified colors.
public VerticalStripeBufferBrush ( int thickness ) : System
thickness int The thickness of the stripes.
Résultat System