File: pattern_alpha.Rd

package info (click to toggle)
r-cran-ggplot2 3.5.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 9,944 kB
  • sloc: sh: 15; makefile: 5
file content (22 lines) | stat: -rw-r--r-- 554 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities-patterns.R
\name{pattern_alpha}
\alias{pattern_alpha}
\title{Modify transparency for patterns}
\usage{
pattern_alpha(x, alpha)
}
\arguments{
\item{x}{Object to be interpreted as pattern.}

\item{alpha}{A \code{numeric} vector between 0 and 1. If \code{NA}, alpha values
are preserved.}
}
\value{
\code{x} with modified transparency
}
\description{
This generic allows you to add your own methods for adding transparency to
pattern-like objects.
}
\keyword{internal}