highlight_squares: Highlight soecific square of chess board

Description Usage Arguments Value

View source: R/highlight-square.R

Description

Highlight soecific square of chess board

Usage

1
2
3
4
5
6
7
8
9
highlight_squares(
  squares,
  col = "red",
  size = 1.5,
  fill = NA,
  res = 50,
  d = 0.45,
  ...
)

Arguments

col

colour of highlight circle

size

thickness of highlight circle

fill

fill colour of highlight circle

...

further arguments passed to ggplot2::geom_polygon()

square

square to highlight (example: "e4")

Value

A ggplot2 geom_polygon() layer


cj-holmes/ggambit documentation built on July 22, 2021, 12:56 p.m.