【发布时间】:2018-10-22 05:39:33
【问题描述】:
我的 UI 设计如下图所示。我正在使用 FFImageLoading 插件和角变换,但我无法在图像底部制作椭圆形。我怎样才能做到这一点 ?
我正在尝试以下代码,但它不起作用。
<ffimg:CachedImage HeightRequest="225"
Aspect="AspectFill"
Source="https://www.ashmolean.org/sites/default/files/styles/listing_landscape_textoverlay_left_bottom_image/public/ashmolean/images/media/cafe1.jpg?itok=RRq3Tds5">
<ffimg:CachedImage.Transformations>
<ffimgtr:CornersTransformation
BottomLeftCornerSize="40"
BottomRightCornerSize="40" />
</ffimg:CachedImage.Transformations>
</ffimg:CachedImage>
【问题讨论】:
标签: xamarin xamarin.forms ffimageloading