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
point00Point2FloatThe coordinate-space location of the control point at position 00.
point01Point2FloatThe coordinate-space location of the control point at position 01.
point02Point2FloatThe coordinate-space location of the control point at position 02.
point03Point2FloatThe coordinate-space location of the control point at position 03.
point10Point2FloatThe coordinate-space location of the control point at position 10.
point11Point2FloatThe coordinate-space location of the control point at position 11.
point12Point2FloatThe coordinate-space location of the control point at position 12.
point13Point2FloatThe coordinate-space location of the control point at position 13.
point20Point2FloatThe coordinate-space location of the control point at position 20.
point21Point2FloatThe coordinate-space location of the control point at position 21.
point22Point2FloatThe coordinate-space location of the control point at position 22.
point23Point2FloatThe coordinate-space location of the control point at position 23.
point30Point2FloatThe coordinate-space location of the control point at position 30.
point31Point2FloatThe coordinate-space location of the control point at position 31.
point32Point2FloatThe coordinate-space location of the control point at position 32.
point33Point2FloatThe coordinate-space location of the control point at position 33.
color00ColorRgba128FloatThe color associated with the control point at position 00.
color03ColorRgba128FloatThe color associated with the control point at position 03.
color30ColorRgba128FloatThe color associated with the control point at position 30.
color33ColorRgba128FloatThe color associated with the control point at position 33.
topEdgeModePatchEdgeModeSpecifies how to render the left edge of the mesh.
leftEdgeModePatchEdgeModeSpecifies how to render the top edge of the mesh.
bottomEdgeModePatchEdgeModeSpecifies how to render the bottom edge of the mesh.
rightEdgeModePatchEdgeModeSpecifies how to render the right edge of the mesh.