-
- All Implemented Interfaces:
public final class CircularRevealImage
-
-
Field Summary
Fields Modifier and Type Field Description public final static IntegerDefaultCircularRevealDuration
-
Method Summary
Modifier and Type Method Description final static UnitCircularRevealImage(ImageBitmap bitmap, Modifier modifier, Painter bitmapPainter, Alignment alignment, ContentScale contentScale, String contentDescription, Float alpha, ColorFilter colorFilter, CircularReveal circularReveal)CircularRevealImage is an image composable for animating a clipping circle to reveal when loading an image. -
-
Method Detail
-
CircularRevealImage
final static Unit CircularRevealImage(ImageBitmap bitmap, Modifier modifier, Painter bitmapPainter, Alignment alignment, ContentScale contentScale, String contentDescription, Float alpha, ColorFilter colorFilter, CircularReveal circularReveal)
CircularRevealImage is an image composable for animating a clipping circle to reveal when loading an image.
- Parameters:
bitmap- an image bitmap for loading for the content.modifier- adjust the drawing image layout or drawing decoration of the content.bitmapPainter- an image painter to draw an BitmapPainter into the provided canvas.alignment- alignment parameter used to place the loaded ImageBitmap in the given bounds defined by the width and height.contentScale- parameter used to determine the aspect ratio scaling to be used if the bounds are a different size from the intrinsic size of the loaded ImageBitmap.contentDescription- The content description used to provide accessibility to describe the image.alpha- an alpha value to apply for the image when it is rendered onscreen.colorFilter- colorFilter to apply for the image when it is rendered onscreen.circularReveal- circular reveal parameters for running reveal animation when images are successfully loaded.
-
-
-
-