Package-level declarations
Types
Link copied to clipboard
The cell stroke and fill colors used by HexGrid.
Link copied to clipboard
object HexGridDefaults
Default values used by HexGrid.
Link copied to clipboard
interface HexGridItemScope
Child Composable scope for HexGrid.
Link copied to clipboard
The immutable version of Grid.
Link copied to clipboard
Flags for which indices are shown in each cell.
Functions
Link copied to clipboard
Wraps this MutableGrid in an ImmutableGrid.
Link copied to clipboard
fun HexGrid(grid: ImmutableGrid, modifier: Modifier = Modifier, fitMode: FitMode = FitMode.FitColumns, crossMode: CrossMode = CrossMode.AlignCenter, hexOrientation: HexOrientation = HexOrientation.Horizontal, strokeWidth: Dp = Dp.Hairline, colors: HexGridColors = HexGridDefaults.colors(), indicesShown: IndicesShown = HexGridDefaults.indicesShown(), clipToBounds: Boolean = true, onGridTap: (Grid.Address) -> Unit? = null, onOutsideTap: () -> Unit? = null, cellItems: @Composable HexGridItemScope.(Grid.Address) -> Unit? = null)
The Compose version of the library's hex grid.
Link copied to clipboard
Copies this MutableGrid and wraps the new instance in an ImmutableGrid.