HexGridItemScope

Child Composable scope for HexGrid.

The scope exposes the getHexShape function for (optionally) shaping the children.

Functions

Link copied to clipboard
abstract fun getHexShape(inset: Dp = 0.dp): Shape

Returns a Shape identical to the grid's current cell hexagon, shrunk by inset on each side.