Table of Contents

Interface IBrush

Namespace
Icy.Rendering.Brushes
Assembly
IcyUI.dll

Represents an interface for all drawable UI tools.

[TypeConverter(typeof(BrushTypeConverter))]
public interface IBrush
Extension Methods

Remarks

Brushes incapsulate texture rendering process making it cross-platform by including texture type guard and basic visual effects code.

Methods

Draw(IRenderContext, in TextureRenderingOptions)

Draws a brush on the specified render surface.

void Draw(IRenderContext context, in TextureRenderingOptions options)

Parameters

context IRenderContext

An instance of the render context to draw brush with..

options TextureRenderingOptions

Options to draw the brush with.