open fun setTransformation(transformation: Int, gravity: Int): Unit
Overrides ZoomApi.setTransformation
Sets the base transformation to be applied to the content. Defaults to ZoomApi.TRANSFORMATION_CENTER_INSIDE with Gravity.CENTER, which means that the content will be zoomed so that it fits completely inside the container.
transformation - the transformation type
gravity - the transformation gravity. Might be ignored for some transformations