Table of Contents

Class IBrushExtensions

Namespace
Myra.Graphics2D
Assembly
Myra.dll

Extension methods for IBrush objects.

public static class IBrushExtensions
Inheritance
IBrushExtensions
Inherited Members

Methods

Draw(IBrush, RenderContext, Rectangle)

Draws the brush with white color.

public static void Draw(this IBrush brush, RenderContext context, Rectangle dest)

Parameters

brush IBrush

The brush to draw.

context RenderContext

The render context to draw with.

dest Rectangle

The destination rectangle where the brush should be drawn.