Table of Contents

Constructor Brush

Namespace
LMKit.Graphics.Drawing
Assembly
LM-Kit.NET.dll

Brush(Color32)

Initializes a new instance of the Brush class with the specified fill color.

public Brush(Color32 color)

Parameters

color Color32

The solid fill color.

Examples

var red = new Brush(new Color32(255, 0, 0));
var semiTransparent = new Brush(new Color32(0, 0, 255, 128));