getFit

abstract fun getFit(): ContentScale

均匀缩放源内容(保持宽高比),使其尺寸小于或等于目标容器,完全显示在容器内。 类似于 ImageView.ScaleType.FIT_CENTER