documentationfor yFiles for HTML 2.6

Usages of SnapTypes

Properties

snapTypein SnapStateGets or sets the type of the snap.

Method Return Values

from (SnapTypes)in SnapTypesConverts the argument to SnapTypes.

Method Parameters

addGridLineSnapResult (GraphSnapContext, CollectSnapResultsEventArgs, INode, SnapLineSnapTypes, IPoint, Point, Point, number, number, Point, SnapTypes)in NodeReshapeSnapResultProviderAdds a snap result for a location that snaps to a grid line.
addSnaplineSnapResult (GraphSnapContext, CollectSnapResultsEventArgs, INode, OrthogonalSnapLine, Point, Point, SnapTypes)in NodeReshapeSnapResultProviderAdds a snap result for a location that snaps the node's bounds to a snap line.
createPointSnapResult (Point, number, Object, IVisualCreator, SnapTypes)in SnapResultFactory method that creates a SnapResult that snaps to a given location.
createSnapLineSnapResult (number, Point, Object, SnapLine, Point, Object, SnapTypes?)in SnapResultFactory method that creates a SnapResult which represents a SnapLine to which the current moved item will potentially snap.
SnapState (Point, SnapTypes?)in SnapStateInitializes a new instance of the SnapState class.
from (SnapTypes)in SnapTypesConverts the argument to SnapTypes.