2 using System.Collections.Generic;
5 using DirectOutput.Cab.Color;
7 namespace DirectOutput.Cab.Toys.Layer
38 public void Set(
int Red,
int Green,
int Blue)
44 this.Alpha = (Red + Green + Blue > 0 ? 255 : 0);
54 public void Set(
int Red,
int Green,
int Blue,
int Alpha)
69 return new RGBAColor(Red, Green, Blue, Alpha);
104 Set(Red, Green, Blue);
114 public RGBALayer(
int Red,
int Green,
int Blue,
int Alpha)
116 Set(Red, Green, Blue, Alpha);