coil-base / coil.transform / CircleCropTransformation

CircleCropTransformation

class CircleCropTransformation :Transformation

A Transformation that crops an image using a centered circle as the mask.

Constructors

Name Summary
<init> A Transformation that crops an image using a centered circle as the mask.CircleCropTransformation()

Functions

Name Summary
key Return a unique key for this transformation.fun key():String
transform Apply the transformation to input.suspend fun transform(pool:BitmapPool, input:Bitmap, size:Size):Bitmap