documentationfor yFiles for HTML 2.6

Usages of GridSnapTypes

Properties

gridSnapTypein SnapContextGets or sets the type of the grid snapping that should be performed.

Method Return Values

from (GridSnapTypes)in GridSnapTypesConverts the argument to GridSnapTypes.

Method Parameters

GraphSnapContext ()in GraphSnapContextCreates a new instance with default settings.
from (GridSnapTypes)in GridSnapTypesConverts the argument to GridSnapTypes.
LabelSnapContext ()in LabelSnapContextInitializes a new instance of the LabelSnapContext class.
addGridSnapResultCore (GraphSnapContext, CollectSnapResultsEventArgs, Point, INode, GridSnapTypes, SnapPolicy, SnapPolicy)in NodeSnapResultProviderCalculates a SnapResult and adds it to the argument.