ggpLayerCaptureArea.Rd
Adds the capture area as a rectangular and/or crops the frame of the plot accordingly.
ggpLayerCaptureArea(
object,
opt = c("rect"),
rect_alpha = 0.9,
rect_clr = "black",
rect_line_type = "solid",
rect_size = 1,
expand_rect = 0.025,
expand_x = ggplot2::waiver(),
expand_y = ggplot2::waiver(),
img_name = activeImage(object)
)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
Combination of 'rect' and/or 'crop'.
The alpha transparency level of the rectangle's border
Given to expand
of ggplot2::scale_x/y_continuous()
.
Character value. The name of the image of interest.
If NULL
, the active image is chosen by default. Either way, must
be one of getImageNames()
.
List of ggpLayer outputs.