Package-level declarations

Types

Link copied to clipboard
class CellStateView(context: Context, attrs: AttributeSet) : View

A dummy View that allows Grid.State properties to be set through child elements of a HexGridView in layout XML, without adding an actual View instance at runtime.

Link copied to clipboard
open class HexDrawable(hexGridView: HexGridView, @ColorInt fillColor: Int = Color.WHITE) : Drawable

Optional background Drawable for children of a HexGridView that gives them the same shape as the View's grid hexagon.

Link copied to clipboard
class HexGridDrawable(grid: Grid? = null) : Drawable

The Drawable version of the library's hex grid.

Link copied to clipboard
class HexGridView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null) : ViewGroup

The View version of the library's hex grid.