-
public final class ViewExtKt
-
-
Method Summary
Modifier and Type Method Description final static UnitclipTopCorners(AppCompatImageView $self, Integer cornerFamily, Float cornerRadius)Clip the top corners of a ImageView. -
-
Method Detail
-
clipTopCorners
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) final static Unit clipTopCorners(AppCompatImageView $self, Integer cornerFamily, Float cornerRadius)
Clip the top corners of a ImageView. Works with any CornerFamily. Replaces the current background drawable with a custom drawable with clipped corners. The previously set background color of the ImageView is automatically applied to the new background drawable.
-
-
-
-