iccxyztypereverse.java

来自「jpeg2000编解码」· Java 代码 · 共 61 行

JAVA
61
字号
/***************************************************************************** * * $Id: ICCXYZTypeReverse.java,v 1.1.1.1 2002/08/02 09:51:48 grosbois Exp $ * * Copyright Eastman Kodak Company, 343 State Street, Rochester, NY 14650 * $Date $ *****************************************************************************/package icc.tags;import java.io.IOException;import java.util.Vector;import java.io.RandomAccessFile;import icc .ICCProfile;import icc .types.XYZNumber;/** * A tag containing a triplet. *  * @see		jj2000.j2k.icc.tags.ICCXYZType * @see	    jj2000.j2k.icc.types.XYZNumber * @version	1.0 * @author	Bruce A. Kern */public class ICCXYZTypeReverse extends ICCXYZType {    /** x component */ public final long x;    /** y component */ public final long y;    /** z component */ public final long z;    /**     * Construct this tag from its constituant parts     *   @param signature tag id     *   @param data array of bytes     *   @param offset to data in the data array     *   @param length of data in the data array     */    protected ICCXYZTypeReverse (int signature, byte [] data, int offset, int length) {        super (signature, data, offset, length);        z=ICCProfile.getInt (data, offset+2*ICCProfile.int_size);        y=ICCProfile.getInt (data, offset+3*ICCProfile.int_size);        x=ICCProfile.getInt (data, offset+4*ICCProfile.int_size); }    /** Return the string rep of this tag. */    public String toString () {        return "[" + super.toString() + "(" + x + ", " + y + ", " + z + ")]"; }    /* end class ICCXYZTypeReverse */ }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?