File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export class Paint extends ProxyClass {
9292 public setXfermode ( param0 : PorterDuffXfermode ) : PorterDuffXfermode ;
9393 public getXfermode ( ) : PorterDuffXfermode ;
9494 public getColorFilter ( ) : ColorFilter ;
95- public setColorFilter ( param0 : ColorFilter ) : void ;
95+ public setColorFilter ( param0 : ColorFilter ) : ColorFilter ;
9696}
9797
9898// export class StaticLayout {
Original file line number Diff line number Diff line change @@ -1089,11 +1089,13 @@ export class Paint implements IPaint {
10891089 public getColorFilter ( ) {
10901090 return this . colorFilter ;
10911091 }
1092- public setColorFilter ( value : any ) {
1092+ public setColorFilter ( value : any ) : any {
10931093 if ( this . colorFilter ) {
10941094 this . colorFilter . release ( ) ;
10951095 }
10961096 this . colorFilter = value ;
1097+
1098+ return value ;
10971099 }
10981100 setFont ( font : Font ) {
10991101 if ( font === this . mFont ) {
You can’t perform that action at this time.
0 commit comments