CircleCropTransformation

class CircleCropTransformation : Transformation

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

Constructors

CircleCropTransformation
Link copied to clipboard
fun CircleCropTransformation()

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
key
Link copied to clipboard
open override fun key(): String

Return a unique key for this transformation.

toString
Link copied to clipboard
open override fun toString(): String
transform
Link copied to clipboard
open suspend override fun transform(pool: BitmapPool, input: Bitmap, size: Size): Bitmap

Apply the transformation to input and return the transformed Bitmap.