documentationfor yFiles for HTML 3.0.0.3

Usages of SnapLine

Method Parameters

collectSnapLineResults (GraphSnapContext, CollectSnapResultsEventArgs, SnapLine, IOrientedRectangle, ILabel)in LabelSnapResultProviderCollect snap results that snap the center of the label to the given snapLine.
collectLineSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, SnapLine, Rect, INode)in NodeSnapResultProviderCollect snap results that snap the node center to the given snap line.
createLineSnapResult (SnapConstraint, number, any, IModelItem, Point, SnapLine, IObjectRenderer<SnapResult>?)in SnapResultFactory method that creates a SnapResult which represents a SnapLine to which the current moved item will potentially snap.

Extending Types

OrthogonalSnapLineAn orthogonal snap line, in other words, one that is parallel to the x or y axis.