Ref/gfx/colorCueMol: Molecular Visualization Framework |
color (QScript object)Static Methodscolor; create RGB color static object color(real, real, real) color; create RGBA color static object color(real, real, real, real) hsb; static creation methods ; create HSB color static object hsb (real, real, real) gradient; create gradient color (low_color, hi_color, ratio) static object gradient(object, object, real) Methodsred; get R/G/B/A component real red() greenreal green() bluereal blue() alphareal alpha() red; set R/G/B/A component void red(real) greenvoid green(real) bluevoid blue(real) alphavoid alpha(real) addhue; incr/decr hue of color object addhue(real); addsat; incr/decr saturation of color object addsat(real); addbri; incr/decr brightness of color object addbri(real); |