@compass-framework/core 1.2.54 → 1.2.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/Paint.d.ts +3 -0
- package/package.json +1 -1
package/@types/Paint.d.ts
CHANGED
|
@@ -33,6 +33,9 @@ export declare class Paint {
|
|
|
33
33
|
public getTextBounds(text: CharSequence, bounds: Rect): void;
|
|
34
34
|
public getTextBounds(text: CharSequence, start: number, end: number, bounds: Rect): void;
|
|
35
35
|
|
|
36
|
+
public getFontMetrics(): Paint.FontMetrics;
|
|
37
|
+
public getFontMetrics(fontMetrics: Paint.FontMetrics): number;
|
|
38
|
+
|
|
36
39
|
public getTextFontMetrics(text: CharSequence): Paint.FontMetrics;
|
|
37
40
|
public getTextFontMetrics(text: CharSequence, fontMetrics: Paint.FontMetrics): number;
|
|
38
41
|
|