d: Create a Path Definition

Description Usage Arguments Examples

View source: R/draw.R

Description

A d attribute in the <path> element provides the path definition, a list of path commands where each command is composed of a command letter and numbers that represent the command parameters.

Usage

1
d(...)

Arguments

...

expression holding any number of path commands. A literal comma in a path definition is created with comma.

Examples

1
2
d(M, 10, comma, 20,
  Q, 90, comma, 60, 50, comma, 90)

be-pr/drawsvg documentation built on Dec. 8, 2020, 3:34 a.m.