Class GraphicsArea
java.lang.Object
cz.fidentis.analyst.gui.elements.dendrogram.GraphicsArea
Helper class for drawing in Graphics2D
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
connectWithRightAngle
(Point rightPoint, Point leftPoint, Point point, Color color) Draws two lines between given points with right angle through given point.
-
Constructor Details
-
GraphicsArea
Constructor- Parameters:
graphics
- graphics in which it will drawheight
- height of graphics
-
-
Method Details
-
connectWithRightAngle
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 nullleftPoint
- left point, can be nullpoint
- point, cannot be nullcolor
- color to draw with
-