internal Class621(ArgbColor backGroundColor) { this.argbColor_0 = backGroundColor; this.int_0 = backGroundColor.Argb & 16777215; this.argbColor_1 = new ArgbColor((int)byte.MaxValue - (int)backGroundColor.R, (int)byte.MaxValue - (int)backGroundColor.G, (int)byte.MaxValue - (int)backGroundColor.B); this.brush_0 = Class1072.smethod_1(this.argbColor_1); }
public Brush imethod_0(ArgbColor color) { if ((color.Argb & 16777215) == this.int_0) { return(Class1072.smethod_1(this.argbColor_1)); } return(Class1072.smethod_1(color)); }
public Pen imethod_1(ArgbColor color, double penThickness) { if ((color.Argb & 16777215) == this.int_0) { return(Class1072.smethod_0(new PenInfo(this.argbColor_1, penThickness))); } return(Class1072.smethod_0(new PenInfo(color, penThickness))); }
internal static Pen smethod_0(PenInfo penInfo) { Pen pen; if (!Class1072.dictionary_1.TryGetValue(penInfo, out pen)) { pen = new Pen(Class1072.smethod_1(penInfo.Color), penInfo.LineWidth); pen.MiterLimit = 2.0; pen.Freeze(); Class1072.dictionary_1[penInfo] = pen; } return(pen); }
public Pen imethod_1(ArgbColor color, double penThickness) { return(Class1072.smethod_0(new PenInfo(color, penThickness))); }
public Brush imethod_0(ArgbColor color) { return(Class1072.smethod_1(color)); }
internal Class894(ArgbColor foregroundColor) { this.argbColor_0 = foregroundColor; this.brush_0 = Class1072.smethod_1(foregroundColor); }