Learn R Programming

ShinyImage (version 0.1.0)

siaction: Class providing object describing one action.

Description

Class providing object describing one action.

Usage

siaction

Arguments

Value

Object of R6Class representing a single ShinyImage action.

Format

R6Class object.

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

Run this code
# NOT RUN {
crop = c(c(0, 0), c(1200, 1400))
siaction$new(0.1, 1, 0, crop, 1, 0, 0)
# }

Run the code above in your browser using DataLab