Table of Contents

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 IDeviceContext
center Point2Float
gradientOriginOffset Point2Float
radiusX float
radiusY float
gradientStopCollection IGradientStopCollection
opacity float
transform Matrix3x2Float?

Returns

IRadialGradientBrush