Filling the area that limited by two polylines

Article ID: 2290
Last updated: 30 May, 2018
Article ID: 2290
Last updated: 30 May, 2018
Revision: 3
Views: 493
Posted: 23 Jun, 2010
by Dean J.
Updated: 30 May, 2018
by Gargani A.

Question

How to fill the area that is limited by two polylines?

Answer

This can be achieved by subclassing the IlvChartDecoration and override the draw method. In the draw method get the renderers that represent the polylines. Then from the renderers, get the datasets points and draw a polygon using IlvStyle.fillPolygon or Graphics2D.fillPolygon.

Download Sample sample.zip

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2290
Last updated: 30 May, 2018
Revision: 3
Views: 493
Posted: 23 Jun, 2010 by Dean J.
Updated: 30 May, 2018 by Gargani A.
Also listed in


Others in this category