code: private static float getCornerAngle(@NonNull final Orientation orientation) {
          switch (orientation) {
              case TOP_LEFT:
                  return QUARTER_ARC_DEGRESS * 2;
              case TOP_RIGHT:
                  return QUARTER_ARC_DEGRESS * 3;
              case BOTTOM_LEFT:
                  return QUARTER_ARC_DEGRESS;
              case BOTTOM_RIGHT:
                  return 0;
              default:
                  throw new IllegalArgumentException("Invalid orientation: " + orientation);
          }
      }
docs: Returns the angle, 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>
  @return The angle, which should be used to draw the shadow, as a {@link Float} value