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> {
219219 args [ 3 ] = createColorParam ( args [ 3 ] ) ;
220220 }
221221 }
222+ setTextSize ( size ) { }
222223 setFont ( font : Font ) {
223224 this . mFontInternal = font ;
224225 if ( this . handlesFont ) {
225226 return ;
226227 }
227- this . mNative . setTextSize ( font . fontSize ) ;
228+ this . setTextSize ( font . fontSize ) ;
228229 this . mNeedsFontUpdate = true ;
229230 }
230231 getFont ( ) {
@@ -300,7 +301,7 @@ export class Paint extends ProxyClass<android.graphics.Paint> {
300301 this . mNative . setStyle ( value ) ;
301302 }
302303 set textSize ( value : number ) {
303- this . mNative . setTextSize ( value ) ;
304+ this . setTextSize ( value ) ;
304305 }
305306 get textSize ( ) {
306307 return this . getTextSize ( ) ;
You can’t perform that action at this time.
0 commit comments