com.aspose.diagram

Class SnapSettings

  • java.lang.Object
    • com.aspose.diagram.SnapSettings
public class SnapSettings 
extends java.lang.Object

Utility class containing constants. Specifies the objects that shapes snap to when snap is active in the window. The value may be a sum of the values.

Field Summary
static final intNONE
Snap to nothing.
static final intRULER_SUBDIVISIONS
Snap to ruler subdivisions.
static final intGRID
Snap to grid.
static final intGUIDES
Snap to guides.
static final intHANDLES
Snap to selection handles.
static final intVERTICES
Snap to vertices.
static final intCONNECTION_POINTS
Snap to connection points.
static final intGEOMETRY
Snap to the visible edges of shapes.
static final intALIGNMENT_BOX
Snap to alignment box.
static final intEXTENSIONS
Snap to shape extensions options.
static final intDISABLED
Snap disabled.
static final intINTERSECTIONS
Snap to intersections.
static final intUNDEFINED
Undefined.
 

    • Field Detail

      • NONE

        public static final int NONE
        Snap to nothing.
      • RULER_SUBDIVISIONS

        public static final int RULER_SUBDIVISIONS
        Snap to ruler subdivisions.
      • GRID

        public static final int GRID
        Snap to grid.
      • GUIDES

        public static final int GUIDES
        Snap to guides.
      • HANDLES

        public static final int HANDLES
        Snap to selection handles.
      • VERTICES

        public static final int VERTICES
        Snap to vertices.
      • CONNECTION_POINTS

        public static final int CONNECTION_POINTS
        Snap to connection points.
      • GEOMETRY

        public static final int GEOMETRY
        Snap to the visible edges of shapes.
      • ALIGNMENT_BOX

        public static final int ALIGNMENT_BOX
        Snap to alignment box.
      • EXTENSIONS

        public static final int EXTENSIONS
        Snap to shape extensions options.
      • DISABLED

        public static final int DISABLED
        Snap disabled.
      • INTERSECTIONS

        public static final int INTERSECTIONS
        Snap to intersections.
      • UNDEFINED

        public static final int UNDEFINED
        Undefined.