import { TextMetricsBase } from './canvas-plugin.common' ; export class TextMetrics extends TextMetricsBase { constructor ( nativeInstance ) { super ( nativeInstance ) ; } get width ( ) { return this . nativeInstance . getWidth ( ) ; } }