drawPage: Create a New Drawing Page

Description Usage Arguments Value See Also Examples

Description

Create a New Drawing Page

Usage

1
2
drawPage(width = .pkgenv$pageWidth, height = .pkgenv$pageHeight,
  units = .pkgenv$units, ...)

Arguments

width

Numeric value for the page width.

height

Numeric value for the page height.

units

Character value for the unit to use when specifying measurements.

...

Additional arguments to viewport.

Value

A viewport object.

See Also

drawSettings

Examples

1
2
3
4
5
6
7
library(draw)

# Set drawing settings
drawSettings(pageWidth = 5, pageHeight = 5, units = "inches")

# Create a new drawing page
drawPage()

rrwen/draw documentation built on May 10, 2019, 1:52 a.m.