<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
sealed interface CarouselItemDrawInfo
```


Interface to hold information about a Carousel item and its size.

Example of CarouselItemDrawInfo usage:


## Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val size: Float
```


The size of the carousel item in the main axis in pixels



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val minSize: Float
```


The minimum size of the carousel item in the main axis in pixels, eg. the size of the item as
it scrolls off the sides of the carousel



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val maxSize: Float
```


The maximum size of the carousel item in the main axis in pixels, eg. the size of the item
when it is at a focal position



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val maskRect: Rect
```


The `Rect` by which the carousel item is being clipped.