public OverrideLineWeightPlotStyle(
     short lineWeight,
     IPlotPropertyOwner plotPropertyOwner,
     DrawContext drawContext)
     : base(plotPropertyOwner, drawContext)
 {
     this.short_0 = lineWeight;
 }
Exemple #2
0
 public IPlotStyle GetEffectivePlotStyle(IPlotPropertyOwner plotPropertyOwner)
 {
     if (this.graphicsConfig_0.PlotStyleManager == null)
     {
         return((IPlotStyle) new DefaultPlotStyle(plotPropertyOwner, this));
     }
     return(this.graphicsConfig_0.PlotStyleManager(plotPropertyOwner, this));
 }
Exemple #3
0
 public OverrideColorPlotStyle(
     ArgbColor color,
     IPlotPropertyOwner plotPropertyOwner,
     DrawContext drawContext)
     : base(plotPropertyOwner, drawContext)
 {
     this.argbColor_0 = color;
 }
Exemple #4
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));
        }
Exemple #5
0
 public DefaultPlotStyle(IPlotPropertyOwner plotPropertyOwner, DrawContext drawContext)
 {
     this.iplotPropertyOwner_0 = plotPropertyOwner;
     this.drawContext_0        = drawContext;
 }
Exemple #6
0
 public Class498(IPlotPropertyOwner baseOwner, short replaceLineWeight)
 {
     this.iplotPropertyOwner_0 = baseOwner;
     this.short_0 = replaceLineWeight;
 }
Exemple #7
0
 public Class1065(IPlotPropertyOwner baseOwner, Color replaceColor)
     : this(baseOwner, replaceColor, byte.MaxValue)
 {
 }
Exemple #8
0
 public Class1065(IPlotPropertyOwner baseOwner, Color replaceColor, byte replaceAlpha)
     : this(baseOwner, EntityColor.CreateFrom(replaceColor), replaceAlpha)
 {
 }
Exemple #9
0
 public Class1065(IPlotPropertyOwner baseOwner, EntityColor replaceColor, byte replaceAlpha)
 {
     this.iplotPropertyOwner_0 = baseOwner;
     this.entityColor_0        = replaceColor;
     this.byte_0 = replaceAlpha;
 }