of static method

FlattenedOutline of(
  1. PdfPath outline
)

The cached flattening of outline, flattening on first sight.

Implementation

static FlattenedOutline of(PdfPath outline) => _cache[outline] ??=
    FlattenedOutline._(flattenPath(outline, PdfMatrix.identity,
        tolerance: glyphFlattenTolerance));