static KnownColorSpaces() { xyz = new XYZColorSpace(); xyy = new xyYColorSpace(); scrgb = new scRGBColorSpace(); lab = new LabColorSpace(); }
internal XYZColor(XYZColorSpace colorSpace, double alpha, double x, double y, double z) : base(colorSpace) { this.Alpha = new ColorChannel(colorSpace.Alpha, alpha); this.X = new ColorChannel(colorSpace.X, x); this.Y = new ColorChannel(colorSpace.Y, y); this.Z = new ColorChannel(colorSpace.Z, z); this.Channels = new ColorChannelCollection(Alpha, X, Y, Z); }