public static class Connector.ConnectorNode extends Treeline.RadiusNode
Node.BranchAndEndNodeIterator<I>, Node.BranchNodeIterator<I>, Node.BreadthFirstSubtreeIterator<I>, Node.EndNodeIterator<I>, Node.FilteredIterator<I>, Node.NodeCollection<I>, Node.NodeIterator<I>, Node.Operation<I>, Node.SlabIterator<I>, Node.SubtreeIterator<I>rchildren, color, confidence, la, MAX_EDGE_CONFIDENCE, parent, x, yDASHED_STROKE, TAG_BACKGROUND| Constructor and Description |
|---|
ConnectorNode(float lx,
float ly,
Layer la) |
ConnectorNode(float lx,
float ly,
Layer la,
float radius) |
ConnectorNode(HashMap<String,String> attr)
To reconstruct from XML, without a layer.
|
| Modifier and Type | Method and Description |
|---|---|
Area |
getArea()
Returns area in local coords.
|
boolean |
intersects(Area a)
Expects @param a in local coords.
|
boolean |
isRoughlyInside(Rectangle localbox)
May return a false positive but never a false negative.
|
Node<Float> |
newInstance(float lx,
float ly,
Layer layer) |
void |
paintData(Graphics2D g,
Rectangle srcRect,
Tree<Float> tree,
AffineTransform to_screen,
Color cc,
Layer active_layer) |
void |
paintHandle(Graphics2D g,
Rectangle srcRect,
double magnification,
Tree<Float> t) |
apply, apply, getData, getDataCopy, setData, transformDataadd, addTag, adjustConfidence, apply, applyToSlab, applyToSubtree, asPoint, clone, computeAllDegrees, computeDegree, copyProperties, findLinkTargets, findNextBranchOrEndPoint, findPath, findPreviousBranchOrRootPoint, getBranchAndEndNodes, getBranchNodes, getChildren, getChildrenCount, getChildrenNodes, getColor, getConfidence, getEdgeConfidence, getEdgeConfidence, getEndNodes, getLayer, getParent, getSlabNodes, getSubtreeNodes, getTags, getX, getY, hasChildren, hasSameTags, hasTag, paintHandle, remove, removeAllTags, removeTag, setColor, setConfidence, setLayer, setPosition, setPosition, toString, translatepublic ConnectorNode(float lx,
float ly,
Layer la)
public ConnectorNode(float lx,
float ly,
Layer la,
float radius)
public final Node<Float> newInstance(float lx, float ly, Layer layer)
newInstance in class Treeline.RadiusNodepublic void paintData(Graphics2D g, Rectangle srcRect, Tree<Float> tree, AffineTransform to_screen, Color cc, Layer active_layer)
paintData in class Treeline.RadiusNodepublic boolean intersects(Area a)
Treeline.RadiusNodeintersects in class Treeline.RadiusNodepublic boolean isRoughlyInside(Rectangle localbox)
NodeisRoughlyInside in class Treeline.RadiusNodepublic void paintHandle(Graphics2D g, Rectangle srcRect, double magnification, Tree<Float> t)
paintHandle in class Node<Float>Copyright © 2015–2021 Fiji. All rights reserved.