---+ .COLOR SET SOFT <em>Assigns a special shading effect that looks like gradient coloring to the "current" color object.<br /></em> <br />%TOC% ---++ Usage: <pre> PASS <direction> FIELD SHARE? N PASS <raised> FIELD SHARE? N GOSUB 0CD .COLOR SET SOFT * Check for error IF 0CD .COLOR SET SOFT NE </pre> ---++ Description: Assigns a special shading effect that looks like gradient coloring to the "current" color object. <direction> is the direction of the lighting, which must be one of Top, Bottom, Right or Left. If blank or not passed, it will default to Top. <raised> is the 3D depth in pixels. With soft lighting effect, the object will appear to have some 3D depth, this controls the amount of 3D depth. If blank or not passed, it will default to 4. Use this after setting the bar edge colors via [[CDXYSetBarEdgeColor][.XY SET BAR EDGE CLR]] to have the effect apply to all the bars on the chart, or after setting the text box background color via [[CDTextSetBoxBGColor][.TEXT SET BX BG CLR]] to affect the selected text box. Note that this setting overrides any edge effect ([[CDTextSetBoxEdgeEffect][.TEXT SET BX EDGE EFF]]) and width ([[CDTextSetBoxEdgeWidth][.TEXT SET BX EDGE W]]) you may have set. 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 - 2012-01-16
This topic: Main
>
WebHome
>
APPX510Features
>
CDChartDirectorDesignerAPI
>
CDChartDirectorColorRoutines
>
CDColorSetsoft
Topic revision: r3 - 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