.SHAPE SET WIDTH PCT

Set the number of sides, points or width for the current shape.

Usage:

      PASS         <width_percent>        FIELD            SHARE? N
      GOSUB    0CD .SHAPE SET WIDTH PCT
      *        Check for error
      IF       0CD .SHAPE SET WIDTH PCT          NE

Description:

This subroutine sets the number of sides, points or width for the "current" shape. The <width_percent> parameter is optional, and if not passed or blank, the shape will be reset to a default value.

For Polygon shapes, <width_percent> is the desired number of sides on the polygon (must be >3). For starShape, it is the number of points on the star (must be >3). For the cross shapes, it is a value between 0 and 1 that represents the percentage width of the arms of the a '+' relative to the entire shape. This subroutine has no effect on other shapes.

Comments:

Read what other users have said about this page or add your own comments.


 

-- JeanNeron - 2011-10-20
Topic revision: r4 - 03 Dec 2026, AdminUser - This page was cached on 03 Dec 2026 - 19:30.

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