@compass-framework/core 1.2.53 → 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/EditRichText.d.ts +6 -4
- package/@types/Paint.d.ts +3 -0
- package/package.json +1 -1
package/@types/EditRichText.d.ts
CHANGED
|
@@ -59,6 +59,10 @@ export class EditRichText extends FrameLayout {
|
|
|
59
59
|
|
|
60
60
|
public getEditTextPaddingLeft(): number;
|
|
61
61
|
|
|
62
|
+
public getVerticalAlign(): number;
|
|
63
|
+
|
|
64
|
+
public getHorizontalAlign(): number;
|
|
65
|
+
|
|
62
66
|
public getEditTextPaddingRight(): number;
|
|
63
67
|
|
|
64
68
|
public getEditTextPaddingTop(): number;
|
|
@@ -69,12 +73,10 @@ export class EditRichText extends FrameLayout {
|
|
|
69
73
|
|
|
70
74
|
public getEditTextMinimumWidth(): number;
|
|
71
75
|
|
|
72
|
-
public getVerticalAlign(): number;
|
|
73
|
-
|
|
74
|
-
public getHorizontalAlign(): number;
|
|
75
|
-
|
|
76
76
|
public setEditTextPadding(left: number, top: number, right: number, bottom: number):void;
|
|
77
77
|
|
|
78
|
+
public setIncludeFontPadding(include: boolean): void;
|
|
79
|
+
|
|
78
80
|
public setOnFocusChangeListener(l: View.OnFocusChangeListener): void;
|
|
79
81
|
|
|
80
82
|
public setDefaultTextSize(textSize: number): void;
|
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
|
|