skiaReadyTextMeasurements()
Skia provider helper that refuses to measure until caller-supplied font/runtime readiness is DATA.
This does not load fonts or create a Skia runtime; readiness is an explicit graph input.
Import
Section titled “Import”import { skiaReadyTextMeasurements } from "@graphrefly/ts/solutions/reactive-layout/skia";Signature
Section titled “Signature”function skiaReadyTextMeasurements(opts: SkiaReadyTextMeasurementsOptions): Node<Measurements>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
opts | SkiaReadyTextMeasurementsOptions | Options that configure the helper. |
Returns
Section titled “Returns”A Node<Measurements> value.
Example
Section titled “Example”import { skiaReadyTextMeasurements } from "@graphrefly/ts/solutions/reactive-layout/skia";Source
Section titled “Source”packages/ts/src/solutions/reactive-layout/skia/index.ts