private static int getVerticalShadowColor ( final int elevation , @ NonNull final Orientation orientation , final boolean parallelLight ) { switch ( orientation ) { case TOP_LEFT : case BOTTOM_LEFT : return getShadowColor ( elevation , Orientation . LEFT , parallelLight ) ; case TOP_RIGHT : case BOTTOM_RIGHT : return getShadowColor ( elevation , Orientation . RIGHT , parallelLight ) ; default : throw new IllegalArgumentException ( "Invalid orientation: " + orientation ) ; } }
Returns the color of a shadow which is located next to a corner of an elevated view in vertical direction .