Tags:
create new tag
view all tags

.COLOR SET DASH LINE

Sets the dash line pattern for the "current" Color Object.


Usage:

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



Description:

Sets the dash line pattern for the "current" Color Object.

A dash line color is a dynamic color that switches on and off periodically. When it is used to draw a line, the line will appear as a dash line.

The style of the dash line is defined by <dash_line_pattern>, which is a 4-byte integer. A value of PPQQRRSS (in hex) means the first PP pixels are turned on, followed by QQ pixels turned off, followed by RR pixels turned on, followed by SS pixels turned off, and then restart from PP again.

You can also pass the following constants:

dashline (same as 0x00000505), dotline (same as 0x00000202), dotdashline (same as 0x05050205), altdashline (same as 0x 0A050505)

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-16

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 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