Const
The DI namespace object contains static utility functions, enumerations, and constructors for custom Dynamic Icons elements.
DI
Note: enumerations are not listed here, refer to the main index page or navigation tree for listing.
To use any of these classes, functions, or enums, prefix them with DI (similar to how Math works). For example:
Math
let c = DI.round4p(Math.cos(angle)); const textElement = new DI.StyledText({ text: "Hello World!", alignment: DI.Alignment.TopCenter }); Copy
let c = DI.round4p(Math.cos(angle)); const textElement = new DI.StyledText({ text: "Hello World!", alignment: DI.Alignment.TopCenter });
The documentation here just provides links to the actual class/function references (also found in the left navigation bar). Click on the types (on right side) for full details.
The
DI
namespace object contains static utility functions, enumerations, and constructors for custom Dynamic Icons elements.Note: enumerations are not listed here, refer to the main index page or navigation tree for listing.
To use any of these classes, functions, or enums, prefix them with
DI
(similar to howMath
works). For example:The documentation here just provides links to the actual class/function references (also found in the left navigation bar). Click on the types (on right side) for full details.