asposediagram.api

Class SnapSettings

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

    • Field Detail

      • NONE

        const int NONE
        Snap to nothing.
      • RULER_SUBDIVISIONS

        const int RULER_SUBDIVISIONS
        Snap to ruler subdivisions.
      • GRID

        const int GRID
        Snap to grid.
      • GUIDES

        const int GUIDES
        Snap to guides.
      • HANDLES

        const int HANDLES
        Snap to selection handles.
      • VERTICES

        const int VERTICES
        Snap to vertices.
      • CONNECTION_POINTS

        const int CONNECTION_POINTS
        Snap to connection points.
      • GEOMETRY

        const int GEOMETRY
        Snap to the visible edges of shapes.
      • ALIGNMENT_BOX

        const int ALIGNMENT_BOX
        Snap to alignment box.
      • EXTENSIONS

        const int EXTENSIONS
        Snap to shape extensions options.
      • DISABLED

        const int DISABLED
        Snap disabled.
      • INTERSECTIONS

        const int INTERSECTIONS
        Snap to intersections.
      • UNDEFINED

        const int UNDEFINED
        Undefined.