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

Namespace: yWorks.Canvas.Input
Assembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)

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