A flaggable enumeration of the different types of snaps that is used by SnapState
in SnapResult implementations.
Namespace: yWorks.Canvas.InputAssembly: 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 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. |