getGravity

open fun getGravity(): Int(source)

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

Return

the gravity applied to the bitmap

See also