Intermact API Reference / @intermact/core / glyphLocalFill
Function: glyphLocalFill()
glyphLocalFill(
globalFill,span,fillOverlap?):number
Defined in: packages/core/src/text/write-spans.ts:58
Map a global fill value to glyph-local fill progress (starts after stroke ends).
Parameters
globalFill
number
span
fillOverlap?
number = 0.2
Returns
number