Static
WAYPOINT_A handlebars template used to render each waypoint label.
Is the ruler supposed to be visible? BaseTokenRuler#visible is set to BaseTokenRuler#isVisible in foundry.canvas.placeables.Token#_refreshState.
The reference to the Token this ruler belongs to.
Protected
_configureProtected
Configure the properties of the dash line. Called in TokenRuler#draw.
The dash in pixels, the gap in pixels, and the speed in pixels per second
Protected
_configureProtected
Configure the properties of the outline. Called in TokenRuler#draw.
The thickness in pixels and the color
Protected
_getProtected
Get the style to be used to highlight the grid offset.
The waypoint
An occupied grid offset at the given waypoint that is to be highlighted
The color, alpha, texture, and texture matrix to be used to draw the grid space. If the alpha is 0, the grid space is not highlighted.
Protected
_getProtected
Get the style of the segment from the previous to the given waypoint.
The waypoint
The line width, color, and alpha of the segment. If the width is 0, no segment is drawn.
Protected
_getProtected
Get the context used to render a ruler waypoint label.
Protected
_getProtected
Get the style of the waypoint at the given waypoint.
The waypoint
The radius, color, and alpha of the waypoint. If the radius is 0, no waypoint marker is drawn.
The default implementation of the Token ruler.