Table of Contents

Constructor GradientMeshPatch

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

GradientMeshPatch(Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, Point2Float, ColorRgba128Float, ColorRgba128Float, ColorRgba128Float, ColorRgba128Float, PatchEdgeMode, PatchEdgeMode, PatchEdgeMode, PatchEdgeMode)

Creates a GradientMeshPatch structure that contains the given control points, colors, and boundary flags.

public GradientMeshPatch(Point2Float point00, Point2Float point01, Point2Float point02, Point2Float point03, Point2Float point10, Point2Float point11, Point2Float point12, Point2Float point13, Point2Float point20, Point2Float point21, Point2Float point22, Point2Float point23, Point2Float point30, Point2Float point31, Point2Float point32, Point2Float point33, ColorRgba128Float color00, ColorRgba128Float color03, ColorRgba128Float color30, ColorRgba128Float color33, PatchEdgeMode topEdgeMode, PatchEdgeMode leftEdgeMode, PatchEdgeMode bottomEdgeMode, PatchEdgeMode rightEdgeMode)

Parameters

point00 Point2Float

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

point01 Point2Float

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

point02 Point2Float

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

point03 Point2Float

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

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.

point12 Point2Float

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

point13 Point2Float

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

point20 Point2Float

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

point21 Point2Float

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

point22 Point2Float

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

point23 Point2Float

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

point30 Point2Float

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

point31 Point2Float

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

point32 Point2Float

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

point33 Point2Float

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

color00 ColorRgba128Float

The color associated with the control point at position 00.

color03 ColorRgba128Float

The color associated with the control point at position 03.

color30 ColorRgba128Float

The color associated with the control point at position 30.

color33 ColorRgba128Float

The color associated with the control point at position 33.

topEdgeMode PatchEdgeMode

Specifies how to render the left edge of the mesh.

leftEdgeMode PatchEdgeMode

Specifies how to render the top 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.