---+ .COLOR SET COLOR:RGB <em>Sets the individual colors of the "current" Color object.<br /></em> <br />%TOC% ---++ Usage: <pre> PASS <red> FIELD SHARE? N PASS <green> FIELD SHARE? N PASS <blue> FIELD SHARE? N PASS <alpha> FIELD SHARE? N GOSUB 0CD .COLOR SET COLOR:RGB * Check for error IF 0CD .COLOR SET COLOR:RGB NE </pre> ---++ Description: This routine sets the color of the "current" Color Object using individual values for the Red, Green, Blue and Alpha (or transparent) channel. The <red>, <green> and <blue> parameters must be passed or else the routine will cancel. The <alpha> parameter is optional. All parameters must be in the range of 1-255 decimal, or 0x00 to 0xFF hexidecimal. Also see [[CDColorSetColor:R][.COLOR SET COLOR:R]], [[CDColorSetColor:G][.COLOR SET COLOR:G]], [[CDColorSetColor:B][.COLOR SET COLOR:B]] and [[CDColorSetColor:A][.COLOR SET COLOR:A]] to set these individually. See ColorSpec for more information on working with colors. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2011-11-15
This topic: Main
>
WebHome
>
APPX510Features
>
CDChartDirectorDesignerAPI
>
CDChartDirectorColorRoutines
>
CDColorSetColor:RGB
Topic revision: r3 - 2012-02-22 - JeanNeron
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback