Skip to content

Commit

Permalink
non-empty doc for args offset and transform
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@84719 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
maechler committed Jul 21, 2023
1 parent 50bffbb commit 6f04756
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/library/grDevices/man/adjustcolor.Rd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
% File src/library/grDevices/man/palette.Rd
% Part of the R package, https://www.R-project.org
% Copyright 1995-2012 R Core Team
% Copyright 1995-2023 R Core Team
% Copyright 2002-2010 The R Foundation
% Distributed under GPL 2 or later

Expand All @@ -22,10 +22,10 @@ adjustcolor(col, alpha.f = 1, red.f = 1, green.f = 1, blue.f = 1,
\item{alpha.f}{factor modifying the opacity alpha; typically in [0,1]}
\item{red.f, green.f, blue.f}{factors modifying the \dQuote{red-},
\dQuote{green-} or \dQuote{blue-}ness of the colors, respectively.}
\item{offset}{
}
\item{transform}{
}
\item{offset}{numeric vector of length 4 to offset \code{x :=
c(r,g,b,alpha)}, where \code{x} is the \eqn{[0,1]}-scaled result of
\code{\link{col2rgb}(col, alpha=TRUE)}.}
\item{transform}{a 4x4 numeric matrix applied to \code{x + offset}.}
}
\value{a color vector of the same length as \code{col}, effectively the
result of \code{\link{rgb}()}.
Expand Down

0 comments on commit 6f04756

Please sign in to comment.