Table of Contents

Method FromCoonsPatch

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

FromCoonsPatch(Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, ColorRgba128Float, ColorRgba128Float, ColorRgba128Float, ColorRgba128Float, PatchEdgeMode, PatchEdgeMode, PatchEdgeMode, PatchEdgeMode)

public static GradientMeshPatch FromCoonsPatch(Point2Float point0, Point2Float point1, Point2Float point2, Point2Float point3, Point2Float point4, Point2Float point5, Point2Float point6, Point2Float point7, Point2Float point8, Point2Float point9, Point2Float point10, Point2Float point11, ColorRgba128Float color0, ColorRgba128Float color1, ColorRgba128Float color2, ColorRgba128Float color3, PatchEdgeMode topEdgeMode, PatchEdgeMode leftEdgeMode, PatchEdgeMode bottomEdgeMode, PatchEdgeMode rightEdgeMode)

Parameters

point0 Point2Float

The coordinate-space location of the control point at position 0.

point1 Point2Float

The coordinate-space location of the control point at position 1.

point2 Point2Float

The coordinate-space location of the control point at position 2.

point3 Point2Float

The coordinate-space location of the control point at position 3.

point4 Point2Float

The coordinate-space location of the control point at position 4.

point5 Point2Float

The coordinate-space location of the control point at position 5.

point6 Point2Float

The coordinate-space location of the control point at position 6.

point7 Point2Float

The coordinate-space location of the control point at position 7.

point8 Point2Float

The coordinate-space location of the control point at position 8.

point9 Point2Float

The coordinate-space location of the control point at position 9.

point10 Point2Float

The coordinate-space location of the control point at position 10.

point11 Point2Float

The coordinate-space location of the control point at position 11.

color0 ColorRgba128Float

The color associated with the control point at position 0.

color1 ColorRgba128Float

The color associated with the control point at position 1.

color2 ColorRgba128Float

The color associated with the control point at position 2.

color3 ColorRgba128Float

The color associated with the control point at position 3.

topEdgeMode PatchEdgeMode

Specifies how to render the top edge of the mesh.

leftEdgeMode PatchEdgeMode

Specifies how to render the left edge of the mesh.

bottomEdgeMode PatchEdgeMode

Specifies how to render the bottom edge of the mesh.

rightEdgeMode PatchEdgeMode

Specifies how to render the right edge of the mesh.

Returns

GradientMeshPatch