centerInside

open fun centerInside(): T

Applies CenterInside to all default types, CENTER_INSIDE to image types and throws an exception if asked to transform an unknown type.

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

See also