This is the abstract base class used by the implementors of SnapContext to model the result of the mouse being snapped to a certain coordinate.

Namespace: yWorks.Canvas.Input
Assembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)

Syntax

C#
public abstract class SnapResult : IComparable<SnapResult>
Visual Basic
Public MustInherit Class SnapResult _
	Implements IComparable(Of SnapResult)

Remarks

It carries a Weight and can be used to obtain a IPaintable that will be included in the view if the result is actually snapped after all other results with higher weight have been snapped.

Inheritance Hierarchy

System..::..Object
  yWorks.Canvas.Input..::..SnapResult
    yWorks.yFiles.UI.Input..::..SnapLineSnapResult

See Also