Checks whether this instance is still snapped given the final mouse coordinates.

Namespace: yWorks.Canvas.Input
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public virtual bool IsSnapped( PointD unsnappedCoordinates, SnapState finalSnapState )
Visual Basic
Public Overridable Function IsSnapped ( _ unsnappedCoordinates As PointD, _ finalSnapState As SnapState _ ) As Boolean

Parameters

unsnappedCoordinates
Type: yWorks.Canvas.Geometry.Structs..::..PointD
The unsnapped coordinates.
finalSnapState
Type: yWorks.Canvas.Input..::..SnapState
The final snap state that has been used by the client.

Return Value

Whether the coordinates are still snapped for this instance.

Remarks

This implementation simply returns falseFalsefalsefalse (False in Visual Basic).

See Also