Drawing Triangular Annotations

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
vadimBo
Posts: 1
Joined: Tue Nov 04, 2014 9:53 pm
antibot: No, of course not.

Drawing Triangular Annotations

Post by vadimBo » Tue Nov 04, 2014 9:57 pm

Hello everyone! I would appreciate if anyone could help me out. My aim is to draw triangular annotation. Currently I am using to draw rectangular annotations

Code: Select all

 Rectangle2D.Double rect = new Rectangle2D.Double(this.getxCoord(), this.yCoord, this.getWidth(), this.height);
            anot = new XYShapeAnnotation(
                    rect, stroke, this.color, Color.DARK_GRAY);

Is there a simple draw triangular annotations?
Thanks in advance!

Locked