optionalCenterInside

open fun optionalCenterInside(): T

Applies com.bumptech.glide.load.resource.bitmap.CenterInside to all default types, CENTER_INSIDE to image types, and ignores unknown types.

This will override previous calls to dontTransform and previous calls to downsample.

See also