documentationfor yFiles for HTML 3.0.0.3

Method Parameters

collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, INode, ReshapeRectangleContext)in INodeReshapeSnapResultProviderCalled when a node's handle is dragged to add SnapResults for OrthogonalSnapLines or sizes to which this node can potentially snap during resizing.
create (function(GraphSnapContext, CollectSnapResultsEventArgs, INode, ReshapeRectangleContext):void)in INodeReshapeSnapResultProvider
collectGridSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, SnapGrid, INode, ReshapeRectangleContext, Rect)in NodeReshapeSnapResultProviderCollects the snap results for the grid.
collectOrthogonalLineSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, OrthogonalSnapLine, INode, ReshapeRectangleContext, Rect)in NodeReshapeSnapResultProviderCollects the snap results that make the node's bounds snap to the snapLine.
collectSameSizeSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, SnapSize, INode, ReshapeRectangleContext, Rect)in NodeReshapeSnapResultProviderCollects the snap results that make the node the same size as other elements.
collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, INode, ReshapeRectangleContext)in NodeReshapeSnapResultProviderCalled when a node is dragged to add SnapResults for SnapReferences to which this node can potentially snap during resizing.
collectReshapeSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect, SnapLineSnapTypes)in OrthogonalSnapLineCalculates a valid SnapResult that snaps the side of a reshaped rectangle described by the snapType to this orthogonal line.
collectReshapedCornerSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect)in SnapGridCollects a valid SnapResult that snaps the corner of the reshaped rectangle that corresponds to the reshapePosition to a grid point.
collectReshapedSideSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect, SnapLineSnapTypes)in SnapGridCalculates a valid SnapResult that snaps the side of a reshaped rectangle described by the snapType to a grid line.
collectReshapeSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect)in SnapSizeCalculates a valid SnapResult that snaps the width or height of a reshaped rectangle to the size.