示例#1
0
        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)));
        }
示例#2
0
        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)));
        }