Table of Contents

Method CreateSolidColorBrush

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.Core.dll

CreateSolidColorBrush(IDeviceContext, ColorRgba128Float, float, in Matrix3x2Float?)

public static ISolidColorBrush CreateSolidColorBrush(this IDeviceContext deviceContext, ColorRgba128Float color, float opacity = 1, in Matrix3x2Float? transform = null)

Parameters

deviceContext IDeviceContext
color ColorRgba128Float
opacity float
transform Matrix3x2Float?

Returns

ISolidColorBrush