Reference to the enclosing Graph instance.
Holds the Shape for the horizontal guide.
Holds the Shape for the vertical guide.
Specifies if horizontal guides are enabled. Default is true.
Specifies if rounded coordinates should be used. Default is false.
Contains the CellStates that are used for alignment.
Default tolerance in px if grid is disabled. Default is 2.
Specifies if vertical guides are enabled. Default is true.
Returns the mxShape to be used for painting the respective guide. This implementation returns a new, dashed and crisp PolylineShape using GUIDE_COLOR and GUIDE_STROKEWIDTH as the format.
Boolean that specifies which guide should be created.
Destroys all resources that this object uses.
Returns the tolerance for the guides. Default value is gridSize / 2.
Hides all current guides.
Returns true if the guide should be enabled for the given native event. This implementation always returns true.
Shows or hides the current guides.
Implements the alignment of selection cells to other cells in the graph.
Constructor: mxGuide
Constructs a new guide object.