Macro Syntax:                                             G p1,p1,s;                    


            Gradient command fills the entire object with a gradient starting with the first pen color (p1) to the second pen color (p2). The style (s) is as follows.

            

The style ( s ) is a value from 0 to 7.


            0 - Left to right

            1 - Right to left

            2 - Top to Bottom

            3 - Bottom to top

            4 - 3D affect - Left to right/right to left

            5 - 3D affect - right to left/left to right

            6 - 3D affect - top to bottom/bottom to top

            7 - 3D affect - bottom to top/top to bottom


            The 3D affects split the object in half and uses opposite directions for the gradient in each half. I think it is a neat affect.


Macro Syntax:                                             G p1,p1,s, w, h;                        


            Alternate Gradient command works just like the Gradient command above, except that rather than fill the entire object it fills a defined rectangle with a gradient starting with the first pen color (p1) to the second pen color (p2). The style (s) is as the same as above. The rectangle is defined by the last pen position (use the M command) as the top left corner and by the width (w) and the height (h) parameters.