The Document instance which is represented by this object
Static
SUPPORTED_Supported template types
Return origin item if any.
Protected
_Protected
Get highlighted square coordinates.
Supports only circle, cone and ray templates.
Cancel the workflow (right-click)
Rotate the template by 3 degree increments (mouse-wheel)
Activate listeners for the template preview
The initially active CanvasLayer to re-activate after the workflow is complete
Returns result object
Creates a preview of the spell template
The initiating click event
Determine tokens residing within the template bounds, based on either grid highlight logic or token center.
Tokens sufficiently within the template.
Static
fromA factory method to create an AbilityTemplate instance using provided data
Data used to create the template
Optional
color?: stringTemplate color
The distance/size of the template
Optional
flags?: objectAdditional flags stored on the template
Optional
texture?: stringPath to template texture
The type of template
Optional
options: { action?: ItemAction } = {}
A helper class for building MeasuredTemplates for PF1 spells and abilities