.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
Topic revision: r4 - 08 Oct 2026, AdminUser - This page was cached on 11 Oct 2026 - 01:13.

Powered by Foswiki. Wiki content belongs to its contributing authors.