Anonymous
LINEAR is a fill style that fills a shape with a linear gradient. The pattern is using currently selected foreground and background colors.
The starting and ending points are visualized by control handles and they can be moved in the raster editor. The relative distance to color mapping is controlled by a function defined in the fill style configuration. It is possible to enable automatic repositioning of the control handles according to bounds of the drawn shape.
LINEAR can be used from scripts and has the following arguments.
DrawTool.SetFillStyle("LINEAR", "0,0,0,0,1,65535,1,1,1,1,ABSOLUTE,0,0,100,100");
Find out how Vista icons differ from XP icons.
See how RealWorld Icon Editor handles Vista icons.