(nativeImage: UIImage)
| 65 | } |
| 66 | |
| 67 | public _setNativeImage(nativeImage: UIImage) { |
| 68 | if (this.nativeViewProtected?.image) { |
| 69 | this.nativeViewProtected.image = null; |
| 70 | |
| 71 | queueGC(); |
| 72 | } |
| 73 | |
| 74 | if (this.nativeViewProtected) { |
| 75 | this.nativeViewProtected.image = nativeImage; |
| 76 | } |
| 77 | this._templateImageWasCreated = false; |
| 78 | this.setTintColor(this.style?.tintColor); |
| 79 | |
| 80 | if (this._imageSourceAffectsLayout) { |
| 81 | this.requestLayout(); |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | _setNativeClipToBounds() { |
| 86 | if (this.nativeViewProtected) { |
no test coverage detected