CachedShapeStrips class

One shape's emitted strips in relocatable form (same packed layout as CachedGlyphStrips) plus the full content record the entry was keyed on - the map key is a 32-bit content hash, so every hit re-verifies the content before replaying (a collision falls back to direct raster, never to the wrong pixels).

Constructors

CachedShapeStrips(Uint32List data, int stripCount, int alphaTexelCount, Int32List content)

Properties

alphaTexelCount → int
final
content → Int32List
The verified content record: [flags, qTol, qx, qy, stroke params + dashes when flags bit 1 is set, ] then interleaved segment opcodes and 1/64-px quantized point deltas from the anchor.
final
data → Uint32List
final
dataBytes → int
Whole-entry footprint (strip blob + content record) - what the cache budget counts, since shape entries are tiny and numerous (the strip data, not the alpha texels, dominates).
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stripCount → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited