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


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


<h2 id="multiaspectcarouselitemdrawinfo-index-state">MultiAspectCarouselItemDrawInfo</h2>

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


```kotlin
@ExperimentalMaterial3Api
fun MultiAspectCarouselItemDrawInfo(
    index: Int,
    state: LazyListState,
): MultiAspectCarouselItemDrawInfo
```


Create a `MultiAspectCarouselItemDrawInfo` object for an item at the given `index` in a
`androidx.compose.foundation.lazy.LazyRow` or `androidx.compose.foundation.lazy.LazyColumn`.

Remember a `MultiAspectCarouselItemDrawInfo` for each item in the LazyList and use
`MultiAspectCarouselScope.maskClip` on the item's outermost container to mask and parallax the
item on scroll.

#### Parameters

| | |
| --- | --- |
| index | the index of the LazyList item this draw info is being used for |
| state | the `LazyListState` of the list this item belongs to |






<hr class="docs-overload-divider">


<h2 id="multiaspectcarouselitemdrawinfo-index-state-2">MultiAspectCarouselItemDrawInfo</h2>

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


```kotlin
@ExperimentalMaterial3Api
fun MultiAspectCarouselItemDrawInfo(
    index: Int,
    state: LazyGridState,
): MultiAspectCarouselItemDrawInfo
```


Create a `MultiAspectCarouselItemDrawInfo` object for an item at the given `index` in a
`androidx.compose.foundation.lazy.grid.LazyHorizontalGrid` or
`androidx.compose.foundation.lazy.grid.LazyVerticalGrid`.

Remember a `MultiAspectCarouselItemDrawInfo` for each item in the LazyList and use
`MultiAspectCarouselScope.maskClip` on the item's outermost container to mask and parallax the
item on scroll.

#### Parameters

| | |
| --- | --- |
| index | the index of the LazyGrid item this draw info is being used for |
| state | the `LazyGridState` of the list this item belongs to |