C# Class CSJ2K.Icc.Tags.ICCXYZType

A tag containing a triplet.
Inheritance: ICCTag
Show file Open project: cureos/csj2k

Public Properties

Property Type Description
x long
y long
z long

Public Methods

Method Description
DoubleToXYZ ( double x ) : long

Normalization utility

ToString ( ) : System.String

Return the string rep of this tag.

XYZToDouble ( long x ) : double

Normalization utility

write ( System raf ) : void

Write to a file.

Protected Methods

Method Description
ICCXYZType ( int signature, byte data, int offset, int length ) : System

Construct this tag from its constituant parts

Method Details

DoubleToXYZ() public static method

Normalization utility
public static DoubleToXYZ ( double x ) : long
x double
return long

ICCXYZType() protected method

Construct this tag from its constituant parts
protected ICCXYZType ( int signature, byte data, int offset, int length ) : System
signature int tag id ///
data byte array of bytes ///
offset int to data in the data array ///
length int of data in the data array ///
return System

ToString() public method

Return the string rep of this tag.
public ToString ( ) : System.String
return System.String

XYZToDouble() public static method

Normalization utility
public static XYZToDouble ( long x ) : double
x long
return double

write() public method

Write to a file.
public write ( System raf ) : void
raf System
return void

Property Details

x public property

x component
public long x
return long

y public property

y component
public long y
return long

z public property

z component
public long z
return long