@GRAD (Define a Gradient)

This macro defines a gradient.

SYNTAX:

@GRAD GradientName nAngle startColor endColor

PARAMETERS:

GradientName; Graidient Name String

nAngle; 0...359 or "OVAL" for an oval gradient

startColor; Gradient start color

endColor; Gradient end color

Start and End colors can be defined in Hex, HTML, Integer, or String format:

Data Type

Range

Example

Hex

0x000000...0xFFFFFF

0xFF0000 (Red)

HTML

#000000...#FFFFFF

#FF0000 = Red

Integer

three integers 0...255 specifying the red, green, & blue components of the color

255 0 0 = Red

String

a color name string from http://www.w3schools.com/CSS/css_colornames.asp

Red

EXAMPLE: @GRAD.WID

@COLOR_SCHEME 5
@GRAD MyGradient 90 Red Pink
@GCOLOR 0 MyGradient

@COLOR_SCHEME 5
@GRAD MyGradient OVAL Red Pink
@GCOLOR 0 MyGradient

Next Macro Previous Macro Return to Alpha List

Next Macro in this Group Previous Macro in this Group Return to Group List