Core method that performs the actual snapping.

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

Syntax

C#
public virtual void Snap( PointD unSappedCoordinates, SnapState currentSnapState )
Visual Basic
Public Overridable Sub Snap ( _ unSappedCoordinates As PointD, _ currentSnapState As SnapState _ )

Parameters

unSappedCoordinates
Type: yWorks.Canvas.Geometry.Structs..::..PointD
The coordinates prior to the snapping.
currentSnapState
Type: yWorks.Canvas.Input..::..SnapState
The currently snapped coordinates and the state of the snapping. This instance can be modified by subclasses.

Remarks

This implementation does nothing.

See Also