Interface IBrush
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
contextIRenderContextAn instance of the render context to draw brush with..
optionsTextureRenderingOptionsOptions to draw the brush with.