MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / _setNativeClipToBounds

Method _setNativeClipToBounds

packages/core/ui/image/index.ios.ts:85–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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.

Callers 1

initNativeViewMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected