Class GraphicsArea

java.lang.Object
cz.fidentis.analyst.gui.elements.dendrogram.GraphicsArea

public class GraphicsArea extends Object
Helper class for drawing in Graphics2D
  • Constructor Details

    • GraphicsArea

      public GraphicsArea(Graphics graphics, int height)
      Constructor
      Parameters:
      graphics - graphics in which it will draw
      height - height of graphics
  • Method Details

    • connectWithRightAngle

      public void connectWithRightAngle(Point rightPoint, Point leftPoint, Point point, Color color)
      Draws two lines between given points with right angle through given point. If right or left points are null it skips drawing this part.
      Parameters:
      rightPoint - right point, can be null
      leftPoint - left point, can be null
      point - point, cannot be null
      color - color to draw with