Class VoronoiRenderer

java.lang.Object
com.arbergashi.charts.render.BaseRenderer
com.arbergashi.charts.render.specialized.VoronoiRenderer
All Implemented Interfaces:
ChartRenderer

public final class VoronoiRenderer extends BaseRenderer
Voronoi renderer (optimized): uses a lower-resolution sampling buffer and reuses a backing image.

Performance notes:

  • No new Color(...) inside the pixel loop (precomputed palette)
  • No new Point(...) or repeated mapToPixel(...) calls inside tight loops
  • Sampling runs in buffer space directly
Since:
2026-01-01
Version:
1.0.0
Author:
Arber Gashi
  • Constructor Details

    • VoronoiRenderer

      public VoronoiRenderer()
  • Method Details