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
brushIBrushThe brush to draw.
contextRenderContextThe render context to draw with.
destRectangleThe destination rectangle where the brush should be drawn.