Package 

Class ReactClippingViewGroupHelper


  • @NotThreadSafe() 
    public class ReactClippingViewGroupHelper
    
                        

    Provides implementation of common tasks for view and it's view manager supporting property {@code * removeClippedSubviews}.

    • Method Summary

      Modifier and Type Method Description
      static void calculateClippingRect(View view, Rect outputRect) Can be used by view that support {@code removeClippedSubviews} property to calculate area thatgiven {@param view} should be clipped to based on the clipping rectangle of it's parent in casewhen parent is also set to clip it's children.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • calculateClippingRect

         static void calculateClippingRect(View view, Rect outputRect)

        Can be used by view that support {@code removeClippedSubviews} property to calculate area thatgiven {@param view} should be clipped to based on the clipping rectangle of it's parent in casewhen parent is also set to clip it's children.

        Parameters:
        view - view that we want to calculate clipping rect for
        outputRect - where the calculated rectangle will be written