The canvas context to draw into.
A class representing a rectangle with x
, y
, width
, & height
properties describing the area to draw into.
This is typically the same width & height as the main icon instance, with x
and y
both 0
.
Argument string specified in the "Run Custom Script" action's "Arguments" field or via "Update Value" action.
A class representing the current icon instance that is running this script. It has useful properties such as name
, width
& height
.
A class for writing output to the Dynamic Icons plugin log file.
The DI
namespace object contains static utility functions, enumerations, and constructors for custom Dynamic Icons elements. See DI for details.
Additional global scope variables, classes, and utility functions which are available in the scripting environment.
Although
global
is described here as a "variable" type, it is really the global scope which is documented. No prefix or import is required to use these variables/types.The documentation here just provides links to the actual type references (also found in the left navigation bar). Click on the types (on right side) for full details.