draw_rect: Create an SVG rect Element

Description Usage Arguments

Description

An SVG <rect> element draws a rectangle from a given corner position, a width an a height.

Usage

1
2
draw_rect(x = 0L, y = 0L, width, height, rx, ry, fill, stroke,
          class, id, animate)

Arguments

x

numeric, which defines the coordinate on the x-axis.

y

numeric, which defines the coordinate on the y-axis.

width

expression setting the width SVG attribute.

height

expression setting the height SVG attribute.

rx

expression which determines the horizontal corner radius.

ry

expression which determines the vertical corner radius.

fill

expression setting the fill attribute.

stroke

expression setting the stroke attribute.

animate

expression setting the animate attribute.

class

expression setting the class attribute.

id

expression setting the id attribute.


be-pr/drawsvg documentation built on May 31, 2019, 12:41 a.m.