Status flags which are applied at render-time to update the PlaceableObject. If an object defines RenderFlags, it should at least include flags for "redraw" and "refresh".
StaticRENDER_The ticker priority when RenderFlags of this class are handled. Valid values are OBJECTS or PERCEPTION.
StaticRENDER_Is this Ruler active? True, if the path of the Ruler is nonempty.
The last point of the path, or undefined if the path is empty.
The first point of the path, or undefined if the path is empty.
The sequence of points that the Ruler measures.
Set the sequence of points that the Ruler measures.
The Ruler is visible if it is active and either not hidden or its User is the current User.
StaticcanIs the Ruler ready to measure?
AbstractdestroyDestroy the Ruler.
AbstractdrawDraw the Ruler.
Refresh the Ruler.
Reset the path and the hidden state of the Ruler.
Protected_ProtectedAdd a waypoint.
The (unsnapped) waypoint
Optionaloptions: { snap?: boolean } = {}Additional options
Optionalsnap?: booleanSnap the added waypoint?
Protected_ProtectedChange the elevation of the destination.
The number vertical steps
Optionaloptions: { precise?: boolean } = {}Additional options
Optionalprecise?: booleanRound elevations to multiples of the grid distance divided by
CONFIG.Canvas.elevationSnappingPrecision?
If false, rounds to multiples of the grid distance.
Protected_ProtectedHandle left-click events on the Canvas during Ruler measurement.
The pointer-down event
Protected_ProtectedHandle right-click events on the Canvas during Ruler measurement.
The pointer-down event
Protected_ProtectedHandle the end of the Ruler measurement workflow
The drag cancel event
If false, the cancellation of the drag workflow is prevented
Protected_ProtectedHandle the beginning of a new Ruler measurement workflow.
The drag start event
Protected_ProtectedCalled when the Ruler becomes hidden or unhidden.
Protected_ProtectedContinue a Ruler measurement workflow for left-mouse movements on the Canvas.
The mouse move event
Protected_ProtectedConclude a Ruler measurement workflow by releasing the left-mouse button.
The pointer-up event
Protected_ProtectedAdjust the elevation of Ruler waypoints by scrolling up/down.
The mousewheel event
Protected_ProtectedCalled when the Ruler's path has changed.
Protected Abstract_ProtectedRefresh the Ruler.
Protected_ProtectedRemove the second to last waypoint.
Staticget
The ruler that is used to measure distances on the Canvas.
Mixes
RenderFlagsMixin