Description
Clips a view to a specific shape.
Parameters
shape
: The shape to clip the view to. Examples: circle
, capsule
, rectangle
, roundedrectangle
.cornerRadius
: The corner radius for a rounded rectangle.Example
<myView clipShape="circle"/>