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>
r
children, color, confidence, la, MAX_EDGE_CONFIDENCE, parent, x, y
DASHED_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, transformData
add, 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, translate
public 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.RadiusNode
public void paintData(Graphics2D g, Rectangle srcRect, Tree<Float> tree, AffineTransform to_screen, Color cc, Layer active_layer)
paintData
in class Treeline.RadiusNode
public boolean intersects(Area a)
Treeline.RadiusNode
intersects
in class Treeline.RadiusNode
public boolean isRoughlyInside(Rectangle localbox)
Node
isRoughlyInside
in class Treeline.RadiusNode
public void paintHandle(Graphics2D g, Rectangle srcRect, double magnification, Tree<Float> t)
paintHandle
in class Node<Float>
Copyright © 2015–2021 Fiji. All rights reserved.