Skip to contents

Class and constructors show graphics created by code

Usage

SVGWidget(...)

# S3 method for class 'SVGWidget'
with(data, expr, envir = list(), 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 activate()

Usage

SVGWidgetClass$activate()


Method suspend()

Usage

SVGWidgetClass$suspend()


Method render()

Usage

SVGWidgetClass$render()


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.