flip: Flip An Image

Description Usage Arguments Details Author(s)

View source: R/vector.R

Description

Flip an image along its horizontal or vertical axis.

Usage

1
flip(x, horizontal = TRUE, vertical = FALSE, ...)

Arguments

x

A picture (see details)

horizontal

Flip in the horizontal dimension (default is TRUE)

vertical

Flip in the vertical dimension (default is FALSE)

...

Additional arguments currently ignored

Details

The picture can be a raster image, an array (that will later be converted to raster), or a Picture object (vector graphics). Note that nativeRaster objects cannot (yet) be flipped.

Author(s)

Rich FitzJohn


richfitz/vectoR documentation built on May 27, 2019, 8:43 a.m.