rebuild.graphics.tiff.tags
Class SRationalTag

java.lang.Object
  extended by rebuild.graphics.tiff.Tag
      extended by rebuild.graphics.tiff.tags.RationalTag
          extended by rebuild.graphics.tiff.tags.SRationalTag

public class SRationalTag
extends RationalTag

A tag that contains one or more Writer.SRATIONAL items.

Since:
BBX 1.0.1

Field Summary
 
Fields inherited from class rebuild.graphics.tiff.Tag
count, data, dataType, value
 
Constructor Summary
SRationalTag(short tag)
          Create a new SRationalTag.
SRationalTag(short tag, int[] num, int[] den)
          Create a new RationalTag.
SRationalTag(short tag, int num, int den)
          Create a new SRationalTag.
 
Method Summary
 
Methods inherited from class rebuild.graphics.tiff.tags.RationalTag
extraData, getDenominator, getNumerator, hasDefault, isDefault, setCount, setDataType, setDenominator, setExtraData, setNumerator, setupForBigTIFF, writeData
 
Methods inherited from class rebuild.graphics.tiff.Tag
equals, getBigCount, getBigValue, getCount, getDataType, getExtraData, getIfExtraDataExists, getTagType, getTagTypeValue, getValue, hashCode, setCount, setValue, setValue, toString, write, write, write, write, writeBig
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SRationalTag

public SRationalTag(short tag)
Create a new SRationalTag.

Parameters:
tag - The tag value.

SRationalTag

public SRationalTag(short tag,
                    int num,
                    int den)
Create a new SRationalTag.

Parameters:
tag - The tag value.
num - The numerator for the Writer.SRATIONAL.
den - The denominator for the Writer.SRATIONAL.

SRationalTag

public SRationalTag(short tag,
                    int[] num,
                    int[] den)
Create a new RationalTag.

Parameters:
tag - The tag value.
num - The numerators for the Writer.SRATIONAL.
den - The denominators for the Writer.SRATIONAL.