measureText( text: string, font: string, lineHeight: number & { _brand: "unitlessLineHeight" }, currentScope: SupportedMeasures,): { height: RawValue; width: RawValue } Parameters
- text: string
- font: string
- lineHeight: number & { _brand: "unitlessLineHeight" }
- currentScope: SupportedMeasures