public static Shape buildRing(OrthonormalGrid grid, Mapper mapper, float ringMin, float ringMax, ColorMapper cmap, Color factor) { RingTessellator tesselator = new RingTessellator(ringMin, ringMax, cmap, factor); return((Shape)tesselator.build(grid.Apply(mapper))); }
public static Shape buildRing(OrthonormalGrid grid, Mapper mapper, float ringMin, float ringMax) { RingTessellator tesselator = new RingTessellator(ringMin, ringMax, new ColorMapper(new ColorMapRainbow(), 0, 1), Color.BLACK); return((Shape)tesselator.build(grid.Apply(mapper))); }