com.ijchart.xychart.title
Interface ITitle

All Known Implementing Classes:
AbstractTitle, DateTitle, ImageTitle, LegendTitle, TextTitle

public interface ITitle

Title: IJChart

Description: a chart library for the Java(tm) platform.

Interface for draw title on chart,all types of title should implement this interface.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.

Method Summary
 Rectangle draw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D chartArea, ChartShapeCollection shapeCollection)
           Draw the title on chart area(chartArea).All title shape is stored in shapeCollection.
 

Method Detail

draw

Rectangle draw(java.awt.Graphics2D g2,
               java.awt.geom.Rectangle2D chartArea,
               ChartShapeCollection shapeCollection)
Draw the title on chart area(chartArea).All title shape is stored in shapeCollection.

Parameters:
g2 - Graphics2D The graphics device (null not permitted).
chartArea - Rectangle2D The area within which the chart should be drawn.
shapeCollection - ChartShapeCollection Collects information about the plot (null permitted).
Returns:
Rectangle The area within which the title should be drawn.