docs: ShadowCompatOperation createShadowCompatOperation(final Matrix transform) {
          // If the shadowCompatOperations don't end on the desired endShadowAngle, add an arc to do so.
          addConnectingShadowIfNecessary(endShadowAngle);
          final List<ShadowCompatOperation> operations = new ArrayList<>(shadowCompatOperations);
          return new ShadowCompatOperation() {
              @Override
              public void draw(
                      Matrix matrix, ShadowRenderer shadowRenderer, int shadowElevation, Canvas canvas) {
                  for (ShadowCompatOperation op : operations) {
                      op.draw(transform, shadowRenderer, shadowElevation, canvas);
                  }
              }
          };
      }