()
| 83 | } |
| 84 | |
| 85 | _setNativeClipToBounds() { |
| 86 | if (this.nativeViewProtected) { |
| 87 | // Always set clipsToBounds for images |
| 88 | this.nativeViewProtected.clipsToBounds = true; |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void { |
| 93 | // We don't call super because we measure native view with specific size. |