shapeCache property

ShapeStripCache? shapeCache
getter/setter pair

Replayable stroke/fill strip cache consulted by fillPath and strokePath for small paths (repeated CAD symbols, hatch strokes, dimension arrows). Content-keyed - repeated geometry rarely shares object identity, so the key is the translation-invariant quantized outline (1/64 px deltas from the first point) plus stroke/fill parameters and a 1/8-px anchor subpixel phase (the glyph cache's scheme, finer grid; y phase stays within the 4-px strip row so replays are row-aligned). Set null to rasterize every path directly (unquantized).

Implementation

ShapeStripCache? shapeCache = ShapeStripCache.shared;