Package | com.yworks.canvas |
Class | public class GridSnapType |
Inheritance | GridSnapType Object |
GraphSnapContext
's gridSnapType
property to determine what
SnapResult
s shall be created for the set IGridConstraintProvider
.
See also
Constant | Defined By | ||
---|---|---|---|
ALL : uint [static]
Elements shall be snapped as well to horizontal and vertical grid lines as to grid points. | GridSnapType | ||
GRID_POINTS : uint = 0x004 [static]
Elements shall be snapped to grid points. | GridSnapType | ||
HORIZONTAL_LINES : uint = 0x001 [static]
Elements shall be snapped to horizontal grid lines. | GridSnapType | ||
LINES : uint [static]
Elements shall be snapped to horizontal and vertical grid lines. | GridSnapType | ||
NONE : uint = 0x000 [static]
There is no grid snapping at all. | GridSnapType | ||
VERTICAL_LINES : uint = 0x002 [static]
Elements shall be snapped to vertical grid lines. | GridSnapType |
ALL | Constant |
public static const ALL:uint
Elements shall be snapped as well to horizontal and vertical grid lines as to grid points.
GRID_POINTS | Constant |
public static const GRID_POINTS:uint = 0x004
Elements shall be snapped to grid points.
HORIZONTAL_LINES | Constant |
public static const HORIZONTAL_LINES:uint = 0x001
Elements shall be snapped to horizontal grid lines.
LINES | Constant |
public static const LINES:uint
Elements shall be snapped to horizontal and vertical grid lines.
NONE | Constant |
public static const NONE:uint = 0x000
There is no grid snapping at all.
VERTICAL_LINES | Constant |
public static const VERTICAL_LINES:uint = 0x002
Elements shall be snapped to vertical grid lines.