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 |
---|---|
static SegmentOrientation |
SegmentOrientation.fromOrdinal(int ordinal) |
SegmentOrientation |
OrthogonalEdgeEditingContext.getSegmentOrientation(IEdge edge,
int segmentIndex)
Gets the declared segment orientation for the provided segment at the given edge.
|
SegmentOrientation |
OrthogonalEdgeHelper.getSegmentOrientation(IInputModeContext context,
IEdge edge,
int segmentIndex)
Gets the orientation of the given segment by looking at the geometry of the segment.
|
SegmentOrientation |
IOrthogonalEdgeHelper.getSegmentOrientation(IInputModeContext context,
IEdge edge,
int segmentIndex)
Gets the declared orientation of the given segment at the provided edge.
|
static SegmentOrientation |
SegmentOrientation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SegmentOrientation[] |
SegmentOrientation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OrthogonalEdgeEditingContext.prepareOrthogonalEdge(IGraph graph,
IEdge edge,
IListEnumerable<SegmentOrientation> orientations,
IListEnumerable<MovementInfo> infos)
Helper method that inspects and prepares an orthogonal edge for the upcoming edit process.
|