File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -219,12 +219,13 @@ export class Paint extends ProxyClass<android.graphics.Paint> {
219
219
args [ 3 ] = createColorParam ( args [ 3 ] ) ;
220
220
}
221
221
}
222
+ setTextSize ( size ) { }
222
223
setFont ( font : Font ) {
223
224
this . mFontInternal = font ;
224
225
if ( this . handlesFont ) {
225
226
return ;
226
227
}
227
- this . mNative . setTextSize ( font . fontSize ) ;
228
+ this . setTextSize ( font . fontSize ) ;
228
229
this . mNeedsFontUpdate = true ;
229
230
}
230
231
getFont ( ) {
@@ -300,7 +301,7 @@ export class Paint extends ProxyClass<android.graphics.Paint> {
300
301
this . mNative . setStyle ( value ) ;
301
302
}
302
303
set textSize ( value : number ) {
303
- this . mNative . setTextSize ( value ) ;
304
+ this . setTextSize ( value ) ;
304
305
}
305
306
get textSize ( ) {
306
307
return this . getTextSize ( ) ;
You can’t perform that action at this time.
0 commit comments