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
IDeviceContextcolor
ColorRgba128Floatopacity
floattransform
Matrix3x2Float?