Table of Contents

Method CombineWithGeometry

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

CombineWithGeometry(ISimplifiedGeometrySink, IGeometry, GeometryCombineMode, in Matrix3x2Float?, float?)

Combines this geometry with the specified geometry and writes the result to an ISimplifiedGeometrySink.

void CombineWithGeometry(ISimplifiedGeometrySink geometrySink, IGeometry inputGeometry, GeometryCombineMode combineMode, in Matrix3x2Float? inputGeometryTransform = null, float? flatteningTolerance = null)

Parameters

geometrySink ISimplifiedGeometrySink

Receives the result of the combine operation.

inputGeometry IGeometry

The geometry to combine with this instance.

combineMode GeometryCombineMode

The type of combine operation to perform.

inputGeometryTransform Matrix3x2Float?

The transform to apply to inputGeometry before combining, or null for no transform.

flatteningTolerance float?

The maximum error allowed when constructing a polygonal approximation of the geometry, or null to use FlatteningTolerance.Default. No point in the polygonal representation will diverge from the original geometry by more than the flattening tolerance. Smaller values produce more accurate results but cause slower execution.