Class and constructors show graphics created by code

SVGWidget(...)

# S3 method for SVGWidget
with(data, expr, enclos = parent.frame(), ...)

PlotWidget(...)

Arguments

...

Arguments, passed to the ImageWidget constructors.

data

An "SVGWidget" object

expr

An expression to evaluate, or a sequence of expression, encapsulated by curly braces.

enclos

An enclosing environment.

Public fields

context

A Context instance or NULL

Methods

Inherited methods


Method new()

Initialize the object

Usage

SVGWidgetClass$new(..., width = NULL, height = NULL, envir = new.env())

Arguments

...

Arguments passed to the superclass initializer

width

A character string, giving the width as a CSS property

height

A character string, giving the height as a CSS property

envir

An optional environment within which expressions are evaluated


Method clone()

The objects of this class are cloneable with this method.

Usage

SVGWidgetClass$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.