internal void Write(ColorBookWriter writer) { this.FixCode(); writer.Write(this.Name); writer.Write(Encoding.ASCII.GetBytes(this.Code)); writer.Write((BaseColorComponent)this.Components); }
internal override void Write(ColorBookWriter writer) { writer.Write((byte)(255 - (this.Cyan * 2.55d))); writer.Write((byte)(255 - (this.Magenta * 2.55d))); writer.Write((byte)(255 - (this.Yellow * 2.55d))); writer.Write((byte)(255 - (this.Key * 2.55d))); }
internal override void Write(ColorBookWriter writer) { writer.Write(this.Red); writer.Write(this.Green); writer.Write(this.Blue); }
internal abstract void Write(ColorBookWriter writer);
internal override void Write(ColorBookWriter writer) { writer.Write((byte)(this.L * 2.55d)); writer.Write((byte)(this.a + 128)); writer.Write((byte)(this.b + 128)); }