code: private static RectF getCornerBounds(@NonNull final Orientation orientation, final int size) {
          switch (orientation) {
              case TOP_LEFT:
                  return new RectF(0, 0, 2 * size, 2 * size);
              case TOP_RIGHT:
                  return new RectF(-size, 0, size, 2 * size);
              case BOTTOM_LEFT:
                  return new RectF(0, -size, 2 * size, size);
              case BOTTOM_RIGHT:
                  return new RectF(-size, -size, size, size);
              default:
                  throw new IllegalArgumentException("Invalid orientation: " + orientation);
          }
      }
docs: Returns the bounds, which should be used to draw a shadow, which is located at a corner of an
  elevated view.
  
  @param orientation
  The orientation of the shadow in relation to the elevated view as a value of the enum
  {@link Orientation}. The orientation may either be <code>TOP_LEFT</code>,
  <code>TOP_RIGHT</code>, <code>BOTTOM_LEFT</code> or <code>BOTTOM_RIGHT</code>
  @param size
  The size of the bitmap, which is used to draw the shadow, in pixels as an {@link
  Integer} value
  @return The bounds, which should be used to draw the shadow, as an instance of the class
  {@link RectF}