artboard-deluxe / ArtboardPluginDefinition
ArtboardPluginDefinition<T>
ArtboardPluginDefinition<
T
>:object
Defines a plugin definition.
This is the return value when you create a plugin, e.g. using mouse()
. The plugin definition can then be passed as the second argument in an array to createArtboard
or by manually adding the plugin after the artboard has been initialised using artboard.addPlugin()
.
Type Parameters
• T extends object
= any
Type declaration
init
init:
ArtboardPluginInit
<T
>
Internal
The method to initlise the plugin.
options
options:
ArtboardPluginOptions
<T
>
The options instance.