Exemple #1
0
        public IPlotStyle GetPlotStyle(
            IPlotPropertyOwner plotPropertyOwner,
            DrawContext drawContext)
        {
            EntityColor entityColor = plotPropertyOwner.GetEntityColor(drawContext);

            if (entityColor.ColorType == ColorType.ByColorIndex && entityColor.ToArgbColor() == this.argbColor_0)
            {
                return((IPlotStyle) new OverrideColorPlotStyle(this.argbColor_1, plotPropertyOwner, drawContext));
            }
            return((IPlotStyle) new DefaultPlotStyle(plotPropertyOwner, drawContext));
        }