public class FXBendConnectionPolicy.SegmentOverlay
extends java.lang.Object
FXBendConnectionPolicy.SegmentOverlay
represents a 3-segment-overlay. A
3-segment-overlay occurs when a selected segment is dragged close to
another, parallel segment, so that the orthogonal gap segment's length is
below the removal threshold.
A-----P Q A = Anchorage | M = retained neighbor | M-----A N = removed neighbor | | O = removed selected O---N P = constrained selected Q = constrained position
Constructor and Description |
---|
SegmentOverlay(boolean isNeighborsFirst,
FXBendConnectionPolicy.AnchorHandle retainedNeighborHandle,
IAnchor retainedNeighborOldAnchor,
IAnchor retainedNeighborNewAnchor,
FXBendConnectionPolicy.AnchorHandle removedNeighborHandle,
IAnchor removedNeighborOldAnchor,
FXBendConnectionPolicy.AnchorHandle removedSelectedHandle,
IAnchor removedSelectedOldAnchor,
FXBendConnectionPolicy.AnchorHandle constrainedSelectedHandle,
IAnchor constrainedSelectedOldAnchor,
IAnchor constrainedSelectedNewAnchor)
Constructs a new
FXBendConnectionPolicy.SegmentOverlay from the given data. |
public SegmentOverlay(boolean isNeighborsFirst, FXBendConnectionPolicy.AnchorHandle retainedNeighborHandle, IAnchor retainedNeighborOldAnchor, IAnchor retainedNeighborNewAnchor, FXBendConnectionPolicy.AnchorHandle removedNeighborHandle, IAnchor removedNeighborOldAnchor, FXBendConnectionPolicy.AnchorHandle removedSelectedHandle, IAnchor removedSelectedOldAnchor, FXBendConnectionPolicy.AnchorHandle constrainedSelectedHandle, IAnchor constrainedSelectedOldAnchor, IAnchor constrainedSelectedNewAnchor)
FXBendConnectionPolicy.SegmentOverlay
from the given data.isNeighborsFirst
- true
if the neighbor anchors are in front of
the selected anchors in this segment overlay, otherwise
false
.retainedNeighborHandle
- The FXBendConnectionPolicy.AnchorHandle
for the retained neighbor.retainedNeighborOldAnchor
- The old IAnchor
of the retained neighbor, i.e. the
one before segment overlay removal.retainedNeighborNewAnchor
- The new IAnchor
of the retained neighbor, i.e. the
one after segment overlay removal.removedNeighborHandle
- The FXBendConnectionPolicy.AnchorHandle
for the removed neighbor.removedNeighborOldAnchor
- The old IAnchor
of the removed neighbor, i.e. the
one before segment overlay removal.removedSelectedHandle
- The FXBendConnectionPolicy.AnchorHandle
for the removed selected.removedSelectedOldAnchor
- The old IAnchor
of the removed selected, i.e. the
one before segment overlay removal.constrainedSelectedHandle
- The FXBendConnectionPolicy.AnchorHandle
for the constrained selected.constrainedSelectedOldAnchor
- The old IAnchor
of the constrained selected, i.e.
the one before segment overlay removal.constrainedSelectedNewAnchor
- The new IAnchor
of the removed selected, i.e. the
one after segment overlay removal.Copyright (c) 2014 itemis AG and others. All rights reserved.