Table of Contents

Method Outline

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Outline(ISimplifiedGeometrySink, in Matrix3x2Float?, float?)

Computes the outline of the geometry and writes the result to an ISimplifiedGeometrySink.

void Outline(ISimplifiedGeometrySink geometrySink, in Matrix3x2Float? worldTransform = null, float? flatteningTolerance = null)

Parameters

geometrySink ISimplifiedGeometrySink

The ISimplifiedGeometrySink to which the geometry's transformed outline is appended.

worldTransform Matrix3x2Float?

The transform to apply to the geometry outline, 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.