C# Class StdPaint.HorizontalStripeBufferBrush

A buffer brush that produces horizontal stripes of different colors.
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.

HorizontalStripeBufferBrush ( int thickness ) : System

Creates a new HorizontalStripeBufferBrush 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

HorizontalStripeBufferBrush() public method

Creates a new HorizontalStripeBufferBrush with the specified colors.
public HorizontalStripeBufferBrush ( int thickness ) : System
thickness int The thickness of the stripes.
return System