-
Notifications
You must be signed in to change notification settings - Fork 44
2、ShapeImageView使用说明
FlyJingFish edited this page Jun 16, 2023
·
2 revisions
github.com/FlyJingFish/ShapeImageView
1,startCrop和endCrop类似于centerCrop,只不过它裁剪的是位置是开始和结尾,含义类似于fitStart和fitEnd 2,autoStartCenterCrop(autoEndCenterCrop) 顾名思义就是自动在startCrop和centerCrop(endCrop和centerCrop)之间自动切换,设置此属性必须设置autoCrop_height_width_ratio属性 3,autoCrop_height_width_ratio属性意思就是图像高宽比是View高宽比的几倍时自动切换为startCrop和centerCrop,否则显示为centerCrop