TextMeasureService documentation¶
provided in root
✓
Attributes and Methods¶
Name | Type | Default | Description |
---|---|---|---|
getFontStyle(...) ¶ | (element: HTMLElement , overrides: FontStyleOverride ) => string | Get font styles for font CSS short-hand property.Parameters
| |
measureText(...) ¶ | (text: string , fontRef: (string | HTMLElement ), overrides: FontStyleOverride ) => number | Measure text width in pixel. Parameters
|
Types Documentation¶
|
Except where otherwise noted, content on this site is licensed under MIT License.