Skip to content

Commit bf65637

Browse files
committed
feat: ios StaticLayout getPaint
1 parent 1c6c32e commit bf65637

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/canvas.ios.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2138,7 +2138,9 @@ export class StaticLayout {
21382138
this.toDraw.drawWithRectOptionsContext(CGRectMake(0, 0, this.width, Number.MAX_VALUE), NSStringDrawingOptions.UsesLineFragmentOrigin, null);
21392139
UIGraphicsPopContext();
21402140
}
2141-
2141+
getPaint() {
2142+
return this.paint;
2143+
}
21422144
getBounds() {
21432145
if (!this.rect) {
21442146
this.createAttributedStringToDraw();

0 commit comments

Comments
 (0)