A flaggable enumeration of the different types of snaps that is used by SnapState in SnapResult implementations.

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

Syntax

C#
[FlagsAttribute] public enum SnapTypes
Visual Basic
<FlagsAttribute> _ Public Enumeration SnapTypes

Members

Member nameValueDescription
SnappedX1 Indicates that the coordinate has been snapped to its x values.
SnappedY2 Indicates that the coordinate has been snapped to its y values.
SnappedXY3 Indicates that the coordinate has been snapped to its x and y values.
NotSnapped0 Indicates that the coordinate has not been snapped to its x and y values.

See Also