ContinuousLegend: Continuous legend class

ContinuousLegendR Documentation

Continuous legend class

Description

Continuous legend class

Continuous legend class

Details

Definition for the ContinuousLegend class.

Public fields

min_value

numeric value.

max_value

numeric value.

colors

character vector.

n

numeric value.

Methods

Public methods


Method new()

Create a ContinuousLegend object.

Usage
ContinuousLegend$new(min_value, max_value, colors, n)
Arguments
min_value

numeric value.

max_value

numeric value.

colors

character vector of colors.

n

numeric value.

Returns

A new ContinuousLegend object.


Method get_widget_data()

Get data for creating a widget.

Usage
ContinuousLegend$get_widget_data()
Returns

A new ContinuousLegend object.


Method get_resample_method()

Get resample method.

Usage
ContinuousLegend$get_resample_method()
Returns

character object.


Method get_color_map()

Get a function for mapping values to colors.

Usage
ContinuousLegend$get_color_map()
Returns

A function object.


Method export()

Export settings

Usage
ContinuousLegend$export()
Returns

list object.


Method clone()

The objects of this class are cloneable with this method.

Usage
ContinuousLegend$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


NCC-CNC/wheretowork documentation built on Feb. 27, 2025, 6:11 p.m.