1Qter豆
最佳答案Image 对象的这个属性,应该是你要的东西!
fillMode : enumeration
Set this property to define what happens when the source image has a different size than the item.
Image.Stretch - the image is scaled to fit
Image.PreserveAspectFit - the image is scaled uniformly to fit without cropping
Image.PreserveAspectCrop - the image is scaled uniformly to fill, cropping if necessary
Image.Tile - the image i ...
| ||
2017-6-19 21:16:02
显示全部楼层
| ||
2017-6-20 16:41:30
显示全部楼层
| ||
2017-6-20 21:27:22
显示全部楼层
| ||