Methods
Object
setColor
applies a color to the specified objects example usage const objectids = \["object 1", "object 2"]; const color = "red"; viewer2d setcolor(objectids, color); const objectids = \["object 1", "object 2"]; const color = "#ff0000"; viewer2d setcolor(objectids, color); const objectids = \["object 1", "object 2"]; const color = "rgba(255, 0, 0, 1)"; viewer2d setcolor(objectids, color); parameters objectids ids of the objects to apply color to true left unhandled content type left unhandled content type left unhandled content type left unhandled content type color any valid css rgb value true left unhandled content type left unhandled content type left unhandled content type left unhandled content type