clipChildren

open fun clipChildren(clipChildren: Boolean): T

Ports setClipChildren into components world. However, there is no guarantee that child of this component would be translated into direct view child in the resulting view hierarchy.

Parameters

clipChildren

true to clip children to their bounds. False allows each child to draw outside of its own bounds within the parent, it doesn't allow children to draw outside of the parent itself.