The policy constants used by IGridConstraintProvider<(Of <(<'T>)>)>

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

Syntax

C#
public enum SnapPolicy
Visual Basic
Public Enumeration SnapPolicy

Members

Member nameValueDescription
NoSnapping0 Don't perform snapping.
ToNearest1 Snap to the nearest grid coordinate.
ToGreater2 Snap to the nearest grid coordinate whose value is not less than the current coordinate.
ToSmaller3 Snap to the nearest grid coordinate whose value is not greater than the current coordinate.

See Also