@nativescript-community/ui-htmlcanvasapi
Version:
An HTML Canvas API implementation on top of android and iOS native APIs
17 lines (16 loc) • 587 B
TypeScript
declare class NSTextMetrics {
readonly width: number;
readonly actualBoundingBoxLeft: number;
readonly actualBoundingBoxRight: number;
readonly actualBoundingBoxAscent: number;
readonly actualBoundingBoxDescent: number;
readonly fontBoundingBoxAscent: number;
readonly fontBoundingBoxDescent: number;
readonly emHeightAscent: number;
readonly emHeightDescent: number;
readonly hangingBaseline: number;
readonly alphabeticBaseline: number;
readonly ideographicBaseline: number;
constructor();
}
export { NSTextMetrics as TextMetrics };