Class: xrx.drawing.Hoverable

xrx.drawing. Hoverable

(private) new xrx.drawing.Hoverable(drawing)

A class representing a pointer to the shape currently hovered by the user.
Parameters:
Name Type Description
drawing xrx.drawing.Drawing The parent drawing canvas.
Source:

Members

xrx.drawing.Hoverable#drawing_ :xrx.drawing.Drawing

The parent drawing canvas.
Type:
Source:

(private) xrx.drawing.Hoverable#last_ :Array.<xrx.shape.Shape>

Reference to the last shape(s) hovered.
Type:
Source:

Methods

xrx.drawing.Hoverable#handleMove()

Function handles mouse move events.
Source:

xrx.drawing.Hoverable#handleOut()

Function handles mouse out events.
Source:

(private) xrx.drawing.Hoverable#hover_()

Source:

(private) xrx.drawing.Hoverable#pop_()

Source:

(private) xrx.drawing.Hoverable#push_()

Source:

xrx.drawing.Hoverable#setMultiple(flag)

Activates or deactivates this hoverable for multiple hovering of shapes.
Parameters:
Name Type Description
flag boolean Whether to hover multiple shapes.
Source: