Solid fill style

Log-in or register.

Solid fill style

rsrc/solid-fill.png image SOLID is a fill style that fills a shape with a solid color. It uses either the primary active color, the secondary active color, or a custom color.

Scripting interface

SOLID can be used from scripts and has a one or five arguments.

  • type - one of "PRIMARY", "SECONDARY", or "CUSTOM". The string is case sensitive.
  • red, green, blue, alpha - color of the custom fill. Values are floating point numbers in range 0-1.

Example

DrawTool.SetFillStyle("SOLID", "CUSTOM,1,1,0,1");

Recent comments

user icon Anonymous
I wish there were...
What about ICL files?