DpTouchBoundsExpansion
-
Cmn
data class DpTouchBoundsExpansion
Describes the expansion of a PointerInputModifierNode's touch bounds along each edges using Dp for units. See DpTouchBoundsExpansion factories and Absolute for convenient ways to build DpTouchBoundsExpansion.
| See also | |
|---|---|
touchBoundsExpansion |
Summary
Public companion functions |
||
|---|---|---|
DpTouchBoundsExpansion |
Creates a |
Cmn
|
Public constructors |
|
|---|---|
|
Cmn
|
Public functions |
||
|---|---|---|
TouchBoundsExpansion |
roundToTouchBoundsExpansion(density: Density) |
Cmn
|
Public companion functions
Absolute
fun Absolute(left: Dp = 0.dp, top: Dp = 0.dp, right: Dp = 0.dp, bottom: Dp = 0.dp): DpTouchBoundsExpansion
Creates a DpTouchBoundsExpansion that's unaware of LayoutDirection. The left, top, right and bottom represent the distance that the touch bounds is expanded along the corresponding edge.