Interface ArrowShape

All Superinterfaces:
Shape
All Known Implementing Classes:
AbsoluteInhibitorArrowShape, AbsoluteStimulationArrowShape, AbstractArrowShape, AssignmentArrowShape, CircleArrowShape, CircleConnectArrowShape, CircleNodeShape, CircularNodeShape, ComplexShape, DiamondArrowShape, DiamondShape, DoubleEllipseShape, EllipseNodeShape, InhibitorArrowShape, LeftSkewedRectShape, MultiComplexShape, MultiEllipseShape, MultiNucleicAcidFeatureShape, MultiRectangleShape, NucleicAcidFeatureShape, ObservableShape, PaperShape, PaperShapeBottomLeft, PaperShapeBottomRight, PaperShapeLeftBottom, PaperShapeLeftTop, PaperShapeRightBottom, PaperShapeRightTop, PaperShapeTopLeft, PaperShapeTopRight, PertubationShape, PolygonalNodeShape, ReceptorDownShape, ReceptorLeftShape, ReceptorRightShape, ReceptorUpShape, RectangleNodeShape, RectangularNodeShape, RelativePolyShape, RightSkewedRectShape, SBGNCircleShape, SBGNDissociationShape, SBGNMultiStadiumShape, SBGNProcessShape, SBGNStadiumShape, SourceSinkShape, StandardArrowShape, StandardArrowShapeLeft, StandardArrowShapeRight, TagDownShape, TagLeftShape, TagRightShape, TagUpShape, TransitionShape, TriggerArrowShape, TruncProteinShape

public interface ArrowShape
extends Shape
DOCUMENT ME!
Version:
$Revision: 1.5 $
Author:
$Author: klukas $
  • Method Details

    • getAnchor

      Point2D getAnchor()
      Returns the anchor of the arrow, i.e. the point where the line should be attached to the arrow. This is only valid after a call to affix.
      Returns:
      the anchor of the arrow.
    • affix

      Shape affix​(Point2D target, Point2D other, double lineWidth)
      Sets this arrow to the target point and rotates it according to the line given by the connection between points target and other.
      Parameters:
      target - the point where the arrow should be put
      other - needed to calculate the direction in which the arrow should point to. The line is given by the two points target and other.
      lineWidth - The total width of the line. May be used to scale the arrow so as to be larger than the line.
      Returns:
      DOCUMENT ME!
    • updateSize

      void updateSize​(double sz)