SCALE_TYPE_FIT

val SCALE_TYPE_FIT: Int

Scales the stream so that its largest dimension spans the whole view; its smallest dimension is scaled accordingly to respect original aspect ratio, centered in the render zone; introduced padding, if any, is rendered according to padding fill configuration.

Also corresponds to XML attribute fit in gsdk_scaleType.

See also

#setScaleType(int)

#setScaleType(int)