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
geometrySinkISimplifiedGeometrySinkReceives the result of the combine operation.
inputGeometryIGeometryThe geometry to combine with this instance.
combineModeGeometryCombineModeThe type of combine operation to perform.
inputGeometryTransformMatrix3x2Float?The transform to apply to inputGeometry before combining, or null for no transform.
flatteningTolerancefloat?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.