Tags:
create new tag
view all tags

.COLOR SET SOFT

Assigns a special shading effect that looks like gradient coloring to the "current" color object.


Usage:

      PASS         <direction>                FIELD            SHARE? N
      PASS         <raised>                   FIELD            SHARE? N
      GOSUB    0CD .COLOR SET SOFT
      *        Check for error
      IF       0CD .COLOR SET SOFT            NE

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 .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 .TEXT SET BX BG CLR to affect the selected text box. Note that this setting overrides any edge effect (.TEXT SET BX EDGE EFF) and width (.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.


-- JeanNeron - 2012-01-16

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2012-02-22 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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