Is this token a square?
Returns error margin, in pixels, for measuring to and from token center.
Defined as larger of half the token's width and height.
Protected
_Protected
Draw a single resource bar, given provided data.
The Bar number>
The Bar container.
Resource data for this bar.
Protected
_Protected
Resource data for this bar
The number to boost the bar by, if any.
Protected
_Protected
Determines the length of the underline (bottom half-height bar overlay) on a token bar.
Resource data for this bar
The value of the bar underline, if any.
Control options
Release options
Return coordinates of cells the token occupies.
Result is modified result of TokenDocument#getOccupiedGridSpaceOffsets()
.
Optional
options: { center?: boolean } = {}Additional options
Optional
center?: booleanReturn cell centers instead of origins
The Document instance which is represented by this object