Tags:
create new tag
view all tags

.COLOR SET COLOR:A

Sets the transparency value of the "current" Color object.


Usage:

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

Description:

This routine sets the transparency value of the "current" Color Object. <alpha> must be in the range of 1-255 decimal, or 0x00 to 0xFF hexidecimal. A blank will reset the value to the default (fully opaque). Transparency ranges from 1 (fully transparent) to 255 (fully opaque).

Also see .COLOR SET COLOR:RGB, .COLOR SET COLOR:R, .COLOR SET COLOR:G and .COLOR SET COLOR:B.

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