Table of Contents

Class SolidColorBrush

Namespace
SharpDX.Direct2D1
Assembly
SharpDX.Direct2D1.dll
[Guid("2cd906a9-12e2-11dc-9fed-001143a055f9")]
public class SolidColorBrush : Brush
Inheritance
SolidColorBrush
Inherited Members

Constructors

SolidColorBrush(RenderTarget, RawColor4)

Creates a new SolidColorBrush that has the specified color and opacity.

public SolidColorBrush(RenderTarget renderTarget, RawColor4 color)

Parameters

renderTarget RenderTarget

an instance of RenderTarget

color RawColor4

The red, green, blue, and alpha values of the brush's color.

SolidColorBrush(RenderTarget, RawColor4, BrushProperties?)

Creates a new SolidColorBrush that has the specified color and opacity.

public SolidColorBrush(RenderTarget renderTarget, RawColor4 color, BrushProperties? brushProperties)

Parameters

renderTarget RenderTarget

an instance of RenderTarget

color RawColor4

The red, green, blue, and alpha values of the brush's color.

brushProperties BrushProperties?

The base opacity of the brush.

SolidColorBrush(nint)

public SolidColorBrush(nint nativePtr)

Parameters

nativePtr nint

Properties

Color

Retrieves or sets the color of the solid color brush.

public RawColor4 Color { get; set; }

Property Value

RawColor4

Operators

explicit operator SolidColorBrush(nint)

public static explicit operator SolidColorBrush(nint nativePtr)

Parameters

nativePtr nint

Returns

SolidColorBrush