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

Namespace: yWorks.Canvas.Input
Assembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)

Syntax

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

Members

Member nameDescription
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