siaction: Class providing object describing one action.

Description Usage Format Value Fields Examples

Description

Class providing object describing one action.

Usage

1

Format

R6Class object.

Value

Object of R6Class representing a single ShinyImage action.

Fields

brightness

Stores address of your lightning server.

contrast

Stores id of your current session on the server.

gamma

Stores url of the last visualization created by this object.

crop

A double nested sequence of crops c\(c\(x1, y1\), c\(x2, y2\)\).

blur

stores value of blur

rotate

stores value of rotate

grayscale

stores value of colormode (1 if grayscale, 0 if color) #' @section Methods:

Documentation

The user should not need to create an action object. This is a class used exclusively by a shinyimg to keep track of a set of changes.

new(brightness, contrast, gamma, crop)

This method is used to create object of this class with the appropriate parameters.

get_action()

This method returns a c() list of the input parameters.

Examples

1
2
crop = c(c(0, 0), c(1200, 1400))
siaction$new(0.1, 1, 0, crop, 1, 0, 0)

matloff/ShinyImage documentation built on May 21, 2019, 12:56 p.m.