Skip to contents

Set Up a Panel Layout

Usage

setup_PanelLayout(ncol = 1L, gap = 12, padding = 0)

Arguments

ncol

Integer [1, Inf): Number of columns.

gap

Numeric [0, Inf): Finite gap between cells in pixels.

padding

Numeric [0, Inf): Finite outer padding in pixels.

Value

PanelLayout: Validated settings.

Examples

setup_PanelLayout(ncol = 2, gap = 16)
#> <rtemis.draw::PanelLayout>
#>  @ ncol   : int 2
#>  @ gap    : num 16
#>  @ padding: num 0