File tree 2 files changed +4
-2
lines changed
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 {
92
92
public setXfermode ( param0 : PorterDuffXfermode ) : PorterDuffXfermode ;
93
93
public getXfermode ( ) : PorterDuffXfermode ;
94
94
public getColorFilter ( ) : ColorFilter ;
95
- public setColorFilter ( param0 : ColorFilter ) : void ;
95
+ public setColorFilter ( param0 : ColorFilter ) : ColorFilter ;
96
96
}
97
97
98
98
// export class StaticLayout {
Original file line number Diff line number Diff line change @@ -1089,11 +1089,13 @@ export class Paint implements IPaint {
1089
1089
public getColorFilter ( ) {
1090
1090
return this . colorFilter ;
1091
1091
}
1092
- public setColorFilter ( value : any ) {
1092
+ public setColorFilter ( value : any ) : any {
1093
1093
if ( this . colorFilter ) {
1094
1094
this . colorFilter . release ( ) ;
1095
1095
}
1096
1096
this . colorFilter = value ;
1097
+
1098
+ return value ;
1097
1099
}
1098
1100
setFont ( font : Font ) {
1099
1101
if ( font === this . mFont ) {
You can’t perform that action at this time.
0 commit comments