Skip to content

Commit 7f3b5fb

Browse files
committed
document new params
1 parent 8ef063b commit 7f3b5fb

File tree

3 files changed

+38
-5
lines changed

3 files changed

+38
-5
lines changed

R/geom-label.R

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
#' @rdname geom_text
33
#' @param label.padding Amount of padding around label. Defaults to 0.25 lines.
44
#' @param label.r Radius of rounded corners. Defaults to 0.15 lines.
5-
#' @param label.size Size of label border, in mm.
5+
#' @param label.size `r lifecycle::badge("deprecated")` Replaced by the
6+
#' `linewidth` aesthetic. Size of label border, in mm.
7+
#' @param border.colour,border.color Colour of label border. When `NULL`
8+
#' (default), the `colour` aesthetic determines the colour of the label border.
9+
#' `border.color` is an alias for `border.colour`.
10+
#' @param text.colour,text.color Colour of the text. When `NULL` (default), the
11+
#' `colour` aesthetic determines the colour of the text. `text.color` is an
12+
#' alias for `text.colour`.
613
geom_label <- function(mapping = NULL, data = NULL,
714
stat = "identity", position = "identity",
815
...,

man/geom_text.Rd

Lines changed: 15 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/ggsf.Rd

Lines changed: 15 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)