public class CollectLabelSnapLineEventArgs extends InputModeEventArgs
LabelSnapContext to collect custom snap lines for each drag.EMPTY| Constructor and Description |
|---|
CollectLabelSnapLineEventArgs(IInputModeContext context,
Collection<SnapLine> snapLines)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSnapLine(OrthogonalSnapLine snapLine)
Adds the given snap line to the snap line collection of this class.
|
getContextpublic CollectLabelSnapLineEventArgs(IInputModeContext context, Collection<SnapLine> snapLines)
context - The context this event is being used in.snapLines - The snap lines collection to add to.public final void addSnapLine(OrthogonalSnapLine snapLine)
snapLine - the snap line to add.