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_ProtectedDraw a single resource bar, given provided data.
The Bar number>
The Bar container.
Resource data for this bar.
Protected_ProtectedResource data for this bar
The number to boost the bar by, if any.
Protected_ProtectedDetermines 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.
Bug: Does not work with hex grid. Bug: Does not account for rotation.
Optionaloptions: { center?: boolean } = {}Additional options
Optionalcenter?: booleanReturn cell centers instead of origins
The Document instance which is represented by this object