hexagon: Create Hexagon Component

Description Usage Arguments See Also

View source: R/components.R

Description

Create Hexagon Component

Usage

1
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


maxheld83/reacthexgrid documentation built on Jan. 4, 2020, 10:46 a.m.