CLASSIFIER : GRColor
uid: class-GRColor-CVEViewer-MetaModel@g-scop.grenoble-inp.fr
About
Abstract
A GRColor is a graphic node to select color
To create a GRColor just call
colorselector=cve.viewer.GRColor()
Class Diagram
Inherits
- GRNODE
Attributes table
attribute | type | cardinality |
---|---|---|
edited-color | vcolor | [1,1] |
Methods
-
set_color(self,..) :
Set a color <: r,g,b,a : color with transparency comppnent <: waitfeedback : wait other device for feedback <: local : apply local callbacks <: sendtoserver : notify remote device
-
get_color(self,..) :
Get the current selected color >: r,g,b,a : color with transparency comppnent