getZ

open fun getZ(): Float

Returns the visual z position of this drawable, in pixels. This is equivalent to the translationZ property plus the current elevation property.