@NotThreadSafe
public class ReactClippingViewGroupHelper
extends java.lang.Object
removeClippedSubviews
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_REMOVE_CLIPPED_SUBVIEWS |
Constructor and Description |
---|
ReactClippingViewGroupHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
calculateClippingRect(android.view.View view,
android.graphics.Rect outputRect)
Can be used by view that support
removeClippedSubviews property to calculate area that
given 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. |
public static final java.lang.String PROP_REMOVE_CLIPPED_SUBVIEWS
public static void calculateClippingRect(android.view.View view, android.graphics.Rect outputRect)
removeClippedSubviews
property to calculate area that
given 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.view
- view that we want to calculate clipping rect foroutputRect
- where the calculated rectangle will be written