TiffFloatType

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.tiff.TiffDataType, com.aspose.imaging.fileformats.tiff.tifftagtypes.TiffCommonArrayType

public final class TiffFloatType extends TiffCommonArrayType

The tiff float type.

Constructors

ConstructorDescription
TiffFloatType(int tagId)Initializes a new instance of the TiffFloatType class.

Methods

MethodDescription
getValues()Gets the values.
setValues(float[] value)Sets the values.
getElementSize()Gets the element size in bytes.
getValuesContainer()Gets the values container.
getTagType()Gets the tag type.
getValue()Gets the value this data type contains.
setValue(Object value)Sets the value this data type contains.
writeAdditionalData(TiffStreamWriter dataStream)Writes the additional tag data.

TiffFloatType(int tagId)

public TiffFloatType(int tagId)

Initializes a new instance of the TiffFloatType class.

Parameters:

ParameterTypeDescription
tagIdintThe tag id.

getValues()

public float[] getValues()

Gets the values.

Returns: float[] - The values.

setValues(float[] value)

public void setValues(float[] value)

Sets the values.

Parameters:

ParameterTypeDescription
valuefloat[]The values.

getElementSize()

public byte getElementSize()

Gets the element size in bytes.

Returns: byte - The element size in bytes.

getValuesContainer()

public System.Array getValuesContainer()

Gets the values container.

Returns: com.aspose.ms.System.Array - The values container.

getTagType()

public int getTagType()

Gets the tag type.

Returns: int - The tag type.

getValue()

public Object getValue()

Gets the value this data type contains.

Returns: java.lang.Object - The value.

setValue(Object value)

public void setValue(Object value)

Sets the value this data type contains.

Parameters:

ParameterTypeDescription
valuejava.lang.ObjectThe value.

writeAdditionalData(TiffStreamWriter dataStream)

public long writeAdditionalData(TiffStreamWriter dataStream)

Writes the additional tag data.

Parameters:

ParameterTypeDescription
dataStreamTiffStreamWriterThe data stream.

Returns: long - The actual bytes written.