setGravity

open fun setGravity(gravity: Int)(source)

Set the gravity used to position/stretch the bitmap within its bounds.

Parameters

gravity

the gravity

See also