Fill CONICAL
From RealWorld Wiki
CONICAL is a filling style that fills a shape with an angular gradient (value equals angle). An object filled with this gradient looks like a cone. The gradient is using currently selected foreground and background colors.
[edit] Scripting interface
RADIAL can be used from scripts and has the following arguments.
- gradient (optional) - at least two pairs of coordinates in range 0-255 defining the gradient curve.
- mode - "ABSOLUTE", "RELSHAPE" (default) or "RELIMAGE".
- center_X, center_Y (optional if mode is not ABSOLUTE) - a central point. In relative modes [0, 0] is upper right corner of shape or image, and [1, 1] is lower right corner of shape or image.
[edit] Example
DrawTool.SetFillStyle("CONICAL", "ABSOLUTE,100,100");