A flaggable enumeration of the different types of snaps that is used by SnapState
in SnapResult implementations.
Namespace: yWorks.Canvas.InputAssembly: 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 name | Description | ||
|---|---|---|---|
| SnappedX | 1 | Indicates that the coordinate has been snapped to its x values. | |
| SnappedY | 2 | Indicates that the coordinate has been snapped to its y values. | |
| SnappedXY | 3 | Indicates that the coordinate has been snapped to its x and y values. | |
| NotSnapped | 0 | Indicates that the coordinate has not been snapped to its x and y values. |