private void changeImageScaleType(ScaleType scaleType, @Nullable PointF focusPoint) {
    focusPoint = focusPoint != null ? focusPoint : new PointF(0.5f, 0.5f);

    mImageRoundOptions =
        mImageRoundOptions.extend().scale(scaleType).focusPoint(focusPoint).build();
    mImageRadiusOptions =
        mImageRadiusOptions.extend().scale(scaleType).focusPoint(focusPoint).build();
    mImageSomeOptions = mImageSomeOptions.extend().scale(scaleType).focusPoint(focusPoint).build();
    mImageFancyOptions =
        mImageFancyOptions.extend().scale(scaleType).focusPoint(focusPoint).build();

    loadImages();
  }
A {@link Fragment} that illustrates using rounded corners with Fresco.
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/vito/VitoRoundedCornersFragment.java