---+++ Color Routines These subroutines allow you to set or change the color of the "current object". In most cases, you have to have assigned a color to an object via some other API first. These API's allow you to further change that color. You can also pre-define the colors you want to use in your charts, and then refer to them by name. See ColorSpec for more information on working with colors. %TOC% ---++++ [[CDColorInitialize][.COLOR INITIALIZE]] Initialize a Color Object. ---++++ [[CDColorSetCurrent][.COLOR SET CURRENT]] Set the "current" Color Object to be a previously initialized Color Object. ---++++ [[CDColorGetName][.COLOR GET NAME]] Get the name of the "current" Color Object. ---++++ [[CDColorSetDefault][.COLOR SET DEFAULT]] Clear the "current" Color Object. ---++++ [[CDColorSetColor][.COLOR SET COLOR]] Set the color of the "current" Color Object. ---++++ [[CDColorSetColor:RGB][.COLOR SET COLOR:RGB]] Set the individual colors of the "current" Color Object. ---++++ [[CDColorSetColor:R][.COLOR SET COLOR:R]] Set the Red value of the "current" Color Object. ---++++ [[CDColorSetColor:G][.COLOR SET COLOR:G]] Set the Green value of the "current" Color Object. ---++++ [[CDColorSetColor:B][.COLOR SET COLOR:B]] Set the Blue value of the "current" Color Object. ---++++ [[CDColorSetColor:A][.COLOR SET COLOR:A]] Set the Alpha value of the "current" Color Object. ---++++ [[CDColorSetGlass][.COLOR SET GLASS]] A complex shading effect that emulates tinted glass or semi-transparent plastic material. ---++++ [[CDColorSetsoft][.COLOR SET SOFT]] Assigns a special shading effect that looks like gradient coloring to the "current" color object. ---++++ [[CDColorSetTransparent][.COLOR SET TRANSPARENT]] Set the "current" Color Object to be Transparent. ---++++ [[CDColorSetOpaque][.COLOR SET OPAQUE]] Set the "current" Color Object to be Opaque. ---++++ [[CDColorSetMetal][.COLOR SET METAL]] Set the direction for brightness modulation to create a Metal color effect for the "current" Color Object. ---++++ [[CDColorSetMetalGold][.COLOR SET GOLD]] Sets the color of the "current" Color Object to be Yellow (FFEE44) and sets the direction for brightness modulation to create a Gold Metal color effect. ---++++ [[CDColorSetMetalSilver][.COLOR SET SILVER]] Sets the color of the "current" Color Object to be Grey (DDDDDD) and sets the direction for brightness modulation to create a Silver Metal color effect. ---++++ [[CDColorSetBrushedMetal][.COLOR SET BRUSH METAL]] Set the strength of the texture to create a Brushed Metal Effect for the "current" Color Object. ---++++ [[CDColorSetBrightness][.COLOR SET BRIGHTNESS]] Set the brightness of the "current" Color Object. ---++++ [[CDColorSetHalfColor][.COLOR SET HALF COLOR]] Set the intensity of the "current" Color Object to be one half of the normal intensity. ---++++ [[CDColorSetDashLine][.COLOR SET DASH LINE]] Set the dash line pattern for the "current" Color Object. ---++++ [[CDColorSetGradient][.COLOR SET GRADIENT]] Changes the "current" color object to have a two-point linear gradient color. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2011-11-24
This topic: Main
>
WebHome
>
APPX510Features
>
CDChartDirectorDesignerAPI
>
CDChartDirectorColorRoutines
Topic revision: r4 - 2012-01-19 - 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