#277 PaintAlpha: darker 3D for ALL Paints

Source Dave

Previously, only Paints of type Color gave a 3D-effect
in BarRenderer3D, StackedBarRenderer3D & PiePlot3D.

The Color.darker() method-call has been replaced with a new class,
PaintAlpha which extends the \\\"darker\\\" functionality to ALL known Paints.

Also, transparency (even in Color types) resulted in \\\"flat\\\" 3D effects.

PaintAlpha respects the alpha-channel, while darkening the colour-channels.

The end-result is a much improved 3D experience.
(take a look at the screenshots to see the difference)


  • Martin Höller

    Martin Höller - 2011-03-10

    Hi Dave!

    Well done and very good documentation. Hope this will get included in a future version of JFreeChart.

  • David Gilbert

    David Gilbert - 2012-06-12

    Nice work. I committed your changes on the 1.0.x branch in SVN for inclusion in the next release (1.0.15).

  • David Gilbert

    David Gilbert - 2012-06-12
    • assigned_to: nobody --> mungady
    • status: open --> closed-accepted

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks