Method CreateRadialGradientBrush
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Core.dll
CreateRadialGradientBrush(IDeviceContext, Point2Float, Point2Float, float, float, IGradientStopCollection, float, in Matrix3x2Float?)
public static IRadialGradientBrush CreateRadialGradientBrush(this IDeviceContext deviceContext, Point2Float center, Point2Float gradientOriginOffset, float radiusX, float radiusY, IGradientStopCollection gradientStopCollection, float opacity = 1, in Matrix3x2Float? transform = null)
Parameters
deviceContext
IDeviceContextcenter
Point2FloatgradientOriginOffset
Point2FloatradiusX
floatradiusY
floatgradientStopCollection
IGradientStopCollectionopacity
floattransform
Matrix3x2Float?