GlyphBands class

Per-glyph horizontal band lists over a quadratic curve set.

The glyph's y-extent divides into bandCount uniform bands; each band lists the indices of every curve whose control-point y-range overlaps it, sorted by descending curve max-x (the shader walks the list and early-outs once curves lie entirely left of the sample). A band holding more than maxCurvesPerBandDefault (or the given cap) curves sets overflow - callers fall back to outline strips for that glyph.

Properties

bandCount int
final
bandHeight double
no setter
bands List<Uint16List>
Horizontal bands (stacked along y, picked by the sample's y): curve indices per band, sorted by descending max-x.
final
bandWidth double
no setter
hashCode int
The hash code for this object.
no setterinherited
maxX double
final
maxY double
final
minX double
final
minY double
final
overflow bool
True when some band (either axis) exceeds the per-band curve cap.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vBands List<Uint16List>
Vertical bands (stacked along x, picked by the sample's x): curve indices per band, sorted by descending max-y. Feeds the vertical AA ray.
final

Methods

bandFor(double y) int
The horizontal band index sampling row y falls into, clamped.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
vBandFor(double x) int
The vertical band index sampling column x falls into, clamped.

Operators

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

Constants

maxCurvesPerBandDefault → const int