Package | Description |
---|---|
com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl . |
Modifier and Type | Method and Description |
---|---|
protected void |
LabelSnapContextHelper.addEdgePathSnapLines(LabelSnapContext snapContext,
IInputModeContext inputModeContext,
ILabel label)
Adds snap lines to the
snapContext that are parallel to the path segments of the owner edge at particular
distances. |
protected void |
LabelSnapContextHelper.addEdgePathSnapLines(LabelSnapContext snapContext,
IInputModeContext inputModeContext,
ILabel label,
double distance)
Adds snap lines to the
snapContext that are parallel to the path segments of the owner edge at the given
distance. |
protected void |
LabelSnapContextHelper.addInitialLocationSnapLines(LabelSnapContext snapContext,
IInputModeContext inputModeContext,
ILabel label)
Adds two snap line for the initial center location of the label, one in the direction of the up vector, the other
orthogonal to that direction.
|
protected void |
LabelSnapContextHelper.addNodeShapeSnapLines(LabelSnapContext snapContext,
IInputModeContext inputModeContext,
ILabel label)
Adds snap lines to the
snapContext that are parallel to the owner node's border at particular distances. |
void |
LabelSnapContextHelper.addSnapLines(LabelSnapContext snapContext,
IInputModeContext inputModeContext,
ILabel label)
Called during
initialization of a label
dragging to add snap lines to which the label can potentially snap to the snapContext . |
void |
ILabelSnapContextHelper.addSnapLines(LabelSnapContext snapContext,
IInputModeContext inputModeContext,
ILabel label)
Called during
initialization of a label
dragging to add snap lines to which the label can potentially snap to the
snapContext . |
void |
LabelSnapContextHelper.collectSnapResults(LabelSnapContext context,
CollectSnapResultsEventArgs args,
IOrientedRectangle suggestedLayout,
ILabel label) |
void |
ILabelSnapContextHelper.collectSnapResults(LabelSnapContext context,
CollectSnapResultsEventArgs args,
IOrientedRectangle suggestedLayout,
ILabel label)
Called while the given
label is dragged
to add snap results for the snap lines
provided by the context . |