Table of Contents

Method CreateGradientMesh

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

CreateGradientMesh(ReadOnlySpan<GradientMeshPatch>)

Creates a new IGradientMesh instance using the given array of patches.

IGradientMesh CreateGradientMesh(ReadOnlySpan<GradientMeshPatch> patches)

Parameters

patches ReadOnlySpan<GradientMeshPatch>

A pointer to the array containing the patches to be used in this mesh.

Returns

IGradientMesh

The new gradient mesh.