Tags:
create new tag
view all tags

.COLOR SET COLOR

Sets the color of the "current" Color Object.


Usage:

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

Description:

This routine sets the color of the "current" Color Object. <color_value> must refer to one of the valid color values as explained on the ColorSpec page. If blank or not passed, the "current" color object will be reset to default values.

The .COLOR SET COLOR:RGB and it's variations also set the color, but allow you to pass the Red, Green, Blue and Transparency values as separate fields.

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 - 2011-11-15

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