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

Function clearLayerMask

packages/core/ui/styling/background.ios.ts:384–391  ·  view source on GitHub ↗
(nativeView: NativeScriptUIView)

Source from the content-addressed store, hash-verified

382}
383
384function clearLayerMask(nativeView: NativeScriptUIView) {
385 if (nativeView.outerShadowContainerLayer) {
386 nativeView.outerShadowContainerLayer.mask = null;
387 }
388 nativeView.layer.mask = nativeView.originalMask;
389 nativeView.originalMask = null;
390 nativeView.maskType = null;
391}
392
393function onBackgroundViewScroll(args: ScrollEventData): void {
394 const view = <View>args.object;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected