Create Hexagon Component

hexagon(..., q, r, s, fill = NULL)

Arguments

...

child components

q, r, s

`[integer(1)]` giving axial coordinates, see [readblobgames](https://www.redblobgames.com/grids/hexagons/). The axial coordinates are unitless integers; they need not correspond the SVG coordinate system of [Hexagon()].

fill

`[character(1)]` giving the [fill](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill) attribute.

See also

Other components: hexgrid, layout, pattern, text