Table of Contents

Class SolidColorBrush

Namespace
Icy.Rendering.Brushes
Assembly
IcyUI.dll

Represents the solid brush with one color to draw.

public class SolidColorBrush : IBrush
Inheritance
SolidColorBrush
Implements
Inherited Members
Extension Methods

Constructors

SolidColorBrush(Color)

Initializes a new instance of the SolidColorBrush class.

public SolidColorBrush(Color color)

Parameters

color Color

Color of the brush.

Properties

Color

Gets the color of the brush.

public Color Color { get; }

Property Value

Color

Methods

Draw(IRenderContext, in TextureRenderingOptions)

Draws a brush on the specified render surface.

public 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.