Version: 0.63
🚧 MaskedViewIOS
Deprecated. Use one of the community packages instead.
Renders the child view with a mask specified in the maskElement
prop.
#
ExampleThe following image demonstrates that you can put almost anything behind the mask. The three examples shown are masked <View>
, <Text>
, and <Image>
.

The alpha channel of the view rendered by the maskElement
prop determines how much of the view's content and background shows through. Fully or partially opaque pixels allow the underlying content to show through but fully transparent pixels block that content.
#
Props#
Reference#
PropsmaskElement
#
Type | Required |
---|---|
element | Yes |