ReactClippingViewGroupHelper

@NotThreadSafe
open class ReactClippingViewGroupHelper

Provides implementation of common tasks for view and it's view manager supporting property removeClippedSubviews.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val PROP_REMOVE_CLIPPED_SUBVIEWS: String = "removeClippedSubviews"

Functions

Link copied to clipboard
open fun calculateClippingRect(view: View, outputRect: Rect)
Can be used by view that support removeClippedSubviews property to calculate area that given {@param view} should be clipped to based on the clipping rectangle of it's parent in case when parent is also set to clip it's children.