CanvasGradientMeshCreateCoonsPatch Method |
Namespace: Microsoft.Graphics.Canvas.Geometry
public static CanvasGradientMeshPatch CreateCoonsPatch( Vector2[] points, Vector4[] colors, CanvasGradientMeshPatchEdge[] edges )
CreateCoonsPatch is a convenience method for creating a gradient mesh patch. Its semantics are a bit simpler than CreateTensorPatch, since it takes fewer input points (12 instead of 16).
CreateCoonsPatch requires that:
The input point, color, and edge arrays are laid out as: