/**@class android.hardware.camera2.params.ColorSpaceTransform @extends java.lang.Object Immutable class for describing a 3x3 matrix of {@link Rational} values in row-major order. <p>This matrix maps a transform from one color space to another. For the particular color space source and target, see the appropriate camera metadata documentation for the key that provides this value.</p> @see CameraMetadata */ var ColorSpaceTransform = { /**Get an element of this matrix by its row and column. <p>The rows must be within the range [0, 3), and the column must be within the range [0, 3).</p> @return {Object {android.util.Rational}} element (non-{@code null}) @throws IllegalArgumentException if column or row was out of range */ getElement : function( ) {}, /**Copy the {@link Rational} elements in row-major order from this matrix into the destination. @param {Object {android.util.Rational[]}} destination an array big enough to hold at least {@code 9} elements after the {@code offset} @param {Number} offset a non-negative offset into the array @throws NullPointerException If {@code destination} was {@code null} @throws ArrayIndexOutOfBoundsException If there's not enough room to write the elements at the specified destination and offset. */ copyElements : function( ) {}, /**Copy the {@link Rational} elements in row-major order from this matrix into the destination. <p>Each element is stored as a contiguous rational packed as a {@code (numerator, denominator)} pair of ints, identical to the {@link android.hardware.camera2.params.ColorSpaceTransform#android.hardware.camera2.params.ColorSpaceTransform(int[]) constructor}.</p> @param {Object {int[]}} destination an array big enough to hold at least {@code 18} elements after the {@code offset} @param {Number} offset a non-negative offset into the array @throws NullPointerException If {@code destination} was {@code null} @throws ArrayIndexOutOfBoundsException If there's not enough room to write the elements at the specified destination and offset. @see ColorSpaceTransform#ColorSpaceTransform(int[]) */ copyElements : function( ) {}, /**Check if this {@link android.hardware.camera2.params.ColorSpaceTransform} is equal to another {@link android.hardware.camera2.params.ColorSpaceTransform}. <p>Two color space transforms are equal if and only if all of their elements are {@link Object#equals equal}.</p> @return {Boolean} {@code true} if the objects were equal, {@code false} otherwise */ equals : function( ) {}, /**{@inheritDoc} */ hashCode : function( ) {}, /**Return the color space transform as a string representation. <p> Example: {@code "ColorSpaceTransform([1/1, 0/1, 0/1], [0/1, 1/1, 0/1], [0/1, 0/1, 1/1])"} is an identity transform. Elements are printed in row major order. </p> @return {String} string representation of color space transform */ toString : function( ) {}, };