---+ .COLOR SET BRIGHTNESS <em>Sets the brightness of the "current" Color Object.<br /></em> <br />%TOC% ---++ Usage: <pre> PASS <brightness> FIELD SHARE? N GOSUB 0CD .COLOR SET BRIGHTNESS * Check for error IF 0CD .COLOR SET BRIGHTNESS NE </pre> ---++ Description: Sets the brightness of the "current" Color Object. <brightness> can range from 0 to 255. A brightness less than 1 means the color is darkened, while a brightness greater than 1 means the color is brightened. For example, a brightness of 0.5 means the color is half as bright as the original color. If the original color is red, the color will become dark red. Conversely, a brightness of 2 means the color is twice as bright as the original color. If the original color is red, the color will become light red. 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-16
This topic: Main
>
WebHome
>
APPX510Features
>
CDChartDirectorDesignerAPI
>
CDChartDirectorColorRoutines
>
CDColorSetBrightness
Topic revision: r2 - 2012-02-22 - JeanNeron
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback