Table of Contents

Interface IBrush

Namespace
Myra.Graphics2D
Assembly
Myra.dll

Represents a brush that can be used to fill areas with color or patterns.

public interface IBrush
Extension Methods

Methods

Draw(RenderContext, Rectangle, Color)

Draws the brush content to the specified destination rectangle.

void Draw(RenderContext context, Rectangle dest, Color color)

Parameters

context RenderContext

The render context to draw with.

dest Rectangle

The destination rectangle where the brush should be drawn.

color Color

The color to apply when drawing the brush.