change_color {matRiks}R Documentation

Change shade

Description

Change the shade of a figure

Usage

change_color(obj, ...)

## S3 method for class 'figure'
change_color(obj, ...)

Arguments

obj

The figure

...

other arguments

Value

Return the original figure with the inverted shade

Return the original figure with the inverted shade

Methods (by class)

Examples

# draw a square with inverted color
draw(change_color(square()))
draw(change_color(square()))

[Package matRiks version 0.1.3 Index]