🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

DpTouchBoundsExpansion

Creates a DpTouchBoundsExpansion that's aware of LayoutDirection.

DpTouchBoundsExpansion

Source set: Common
public fun DpTouchBoundsExpansion(
    start: Dp = 0.dp,
    top: Dp = 0.dp,
    end: Dp = 0.dp,
    bottom: Dp = 0.dp,
): DpTouchBoundsExpansion

Creates a DpTouchBoundsExpansion that's aware of LayoutDirection. See DpTouchBoundsExpansion.start and DpTouchBoundsExpansion.end for more details about LayoutDirection.

The start, top, end and bottom represent the distance that the touch bounds is expanded along the corresponding edge.