Class CieCoordinates

Class CieCoordinates

Namespace: Aspose.Imaging.FileFormats.Bmp.Structures
Assembly: Aspose.Imaging.dll (25.7.0)

The class contains the x,y, and z coordinates of a specific color in a specified color space.

public class CieCoordinates
   {
       private double X;
       private double Y;
       private double Z;
       public CieCoordinates(double x, double y, double z)
       {
           this.X = x;
           this.Y = y;
           this.Z = z;
       }
       public void Normalize()
       {
           double sum = Math.Sqrt(Math.Pow(this.X, 2) + Math.Pow(this.Y, 2) + Math.Pow(this.Z, 2));
           this.X /= sum;
           this.Y /= sum;
           this.Z /= sum;
       }
   }

Inheritance

object CieCoordinates

Inherited Members

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

CieCoordinates(byte[])

Initializes a new instance of the Aspose.Imaging.FileFormats.Bmp.Structures.CieCoordinates class.

public CieCoordinates(byte[] bytes)
   {
   }

Parameters

bytes byte []

The array bytes.

Properties

CieCoordinatesX

Gets or sets the coordinates x.

public long CieCoordinatesX
   {
      get;
      set;
   }

Property Value

long

CieCoordinatesY

Gets or sets the coordinates y.

public long CieCoordinatesY
   {
      get;
      set;
   }

Property Value

long

CieCoordinatesZ

Gets or sets the coordinates z.

public long CieCoordinatesZ
   {
      get;
      set;
   }

Property Value

long

 English