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