Create a new ManualLegend object.
Value
A ManualLegend object.
Examples
# create new object
l <- new_manual_legend(c(0, 1), c("#000000", "#AAAAAA"), c("a", "b"))
# print object
print(l)
#> <ManualLegend>
#> Public:
#> clone: function (deep = FALSE)
#> colors: #000000 #AAAAAA
#> export: function ()
#> get_color_map: function ()
#> get_resample_method: function ()
#> get_widget_data: function ()
#> initialize: function (values, colors, labels)
#> labels: a b
#> values: 0 1