TextMeasureService documentation¶
import { TextMeasureService } from '@siemens/element-ng/common'; Attributes and Methods¶
| Name | Type | Description |
|---|---|---|
| getFontStyle() ¶ | (element: HTMLElement, overrides?: FontStyleOverride) => string | Get font styles for 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.