Click or drag to resize
CanvasGradientMesh Constructor
Initializes a new instance of the CanvasGradientMesh class.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasGradientMesh(
	ICanvasResourceCreator resourceCreator,
	CanvasGradientMeshPatch[] patchElements
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreator
patchElements
Type: Microsoft.Graphics.Canvas.GeometryCanvasGradientMeshPatch
Remarks

The size of the patch array is allowed to be zero.

See Also