Skip to content

Commit 4eb6eae

Browse files
authored
fix: Add missing 'draw' method declaration for 'StaticLayout' class
1 parent 9032227 commit 4eb6eae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/canvas.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export class Paint {
8686
// }
8787
export class StaticLayout extends android.text.StaticLayout {
8888
constructor(text: any, paint: Paint, width: number, align, spacingmult, spacingadd, includepad);
89+
public draw(canvas: Canvas): any;
8990
}
9091

9192
export class FontMetrics {

0 commit comments

Comments
 (0)