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
staticfinal intNONE
Snap to nothing.
staticfinal intRULER_SUBDIVISIONS
Snap to ruler subdivisions.
staticfinal intGRID
Snap to grid.
staticfinal intGUIDES
Snap to guides.
staticfinal intHANDLES
Snap to selection handles.
staticfinal intVERTICES
Snap to vertices.
staticfinal intCONNECTION_POINTS
Snap to connection points.
staticfinal intGEOMETRY
Snap to the visible edges of shapes.
staticfinal intALIGNMENT_BOX
Snap to alignment box.
staticfinal intEXTENSIONS
Snap to shape extensions options.
staticfinal intDISABLED
Snap disabled.
staticfinal intINTERSECTIONS
Snap to intersections.
staticfinal 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.