pattern_alpha: Modify transparency for patterns

View source: R/utilities-patterns.R

pattern_alphaR Documentation

Modify transparency for patterns

Description

This generic allows you to add your own methods for adding transparency to pattern-like objects.

Usage

pattern_alpha(x, alpha)

Arguments

x

Object to be interpreted as pattern.

alpha

A numeric vector between 0 and 1. If NA, alpha values are preserved.

Value

x with modified transparency


ggplot2 documentation built on June 22, 2024, 11:35 a.m.