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
ISimplifiedGeometrySinkReceives the result of the combine operation.
inputGeometry
IGeometryThe geometry to combine with this instance.
combineMode
GeometryCombineModeThe 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.