Class AnchorPoint
java.lang.Object
com.inductiveautomation.ignition.designer.blockandconnector.model.AnchorPoint
- Direct Known Subclasses:
- JComponentAnchorPoint
An anchor point is a point on a block that is acceptable for either starting or ending a connector. Coordinates are
 relative to the block component.
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionAnchorPoint(Object id, Block block, EnumSet<AnchorType> type) Creates an anchor point at the given point, with a rectangular hotspot around it.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanabstract PointThis is the actual anchor point that a connector will start/end at.getBlock()The block that this anchor point is part ofabstract ShapeThis is the shape that counts for the mouse to begin dragging or drop onto this anchor pointgetId()An anchor point's id must implement equals() and be unique per blockabstract PointThis is a point near the anchor that should "lead" any path into the anchor.booleanbooleantoString()
- 
Field Details- 
id
- 
block
- 
type
 
- 
- 
Constructor Details- 
AnchorPointCreates an anchor point at the given point, with a rectangular hotspot around it.
 
- 
- 
Method Details- 
getIdAn anchor point's id must implement equals() and be unique per block
- 
getBlockThe block that this anchor point is part of
- 
getAnchorThis is the actual anchor point that a connector will start/end at. This point may be inside the blocks bounds.
- 
getPathLeaderThis is a point near the anchor that should "lead" any path into the anchor. This point should fall outside the block's bounds. Any path to this anchor will pass through this point and a straight line will connect this point to the anchor point.
- 
getHotSpotThis is the shape that counts for the mouse to begin dragging or drop onto this anchor point
- 
isConnectorOriginpublic boolean isConnectorOrigin()
- 
isConnectorTerminuspublic boolean isConnectorTerminus()
- 
equals
- 
toString
 
-