C# Class ImageUtility.TargaImage.TargaHeader

This class holds all of the header properties of a Targa image. This includes the TGA File Header section the ImageID and the Color Map.
Exibir arquivo Open project: Patapom/GodComplex

Protected Methods

Method Description
SetAttributeBits ( byte bAttributeBits ) : void

Sets the AttributeBits property, available only to objects in the same assembly as TargaHeader.

SetColorMapEntrySize ( byte bColorMapEntrySize ) : void

Sets the ColorMapEntrySize property, available only to objects in the same assembly as TargaHeader.

SetColorMapFirstEntryIndex ( short sColorMapFirstEntryIndex ) : void

Sets the ColorMapFirstEntryIndex property, available only to objects in the same assembly as TargaHeader.

SetColorMapLength ( short sColorMapLength ) : void

Sets the ColorMapLength property, available only to objects in the same assembly as TargaHeader.

SetColorMapType ( ColorMapType eColorMapType ) : void

Sets the ColorMapType property, available only to objects in the same assembly as TargaHeader.

SetHeight ( short sHeight ) : void

Sets the Height property, available only to objects in the same assembly as TargaHeader.

SetHorizontalTransferOrder ( HorizontalTransferOrder eHorizontalTransferOrder ) : void

Sets the HorizontalTransferOrder property, available only to objects in the same assembly as TargaHeader.

SetImageIDLength ( byte bImageIDLength ) : void

Sets the ImageIDLength property, available only to objects in the same assembly as TargaHeader.

SetImageIDValue ( string strImageIDValue ) : void

Sets the ImageIDValue property, available only to objects in the same assembly as TargaHeader.

SetImageType ( ImageType eImageType ) : void

Sets the ImageType property, available only to objects in the same assembly as TargaHeader.

SetPixelDepth ( byte bPixelDepth ) : void

Sets the PixelDepth property, available only to objects in the same assembly as TargaHeader.

SetVerticalTransferOrder ( VerticalTransferOrder eVerticalTransferOrder ) : void

Sets the VerticalTransferOrder property, available only to objects in the same assembly as TargaHeader.

SetWidth ( short sWidth ) : void

Sets the Width property, available only to objects in the same assembly as TargaHeader.

SetXOrigin ( short sXOrigin ) : void

Sets the XOrigin property, available only to objects in the same assembly as TargaHeader.

SetYOrigin ( short sYOrigin ) : void

Sets the YOrigin property, available only to objects in the same assembly as TargaHeader.

Method Details

SetAttributeBits() protected method

Sets the AttributeBits property, available only to objects in the same assembly as TargaHeader.
protected SetAttributeBits ( byte bAttributeBits ) : void
bAttributeBits byte The Attribute Bits value read from the file.
return void

SetColorMapEntrySize() protected method

Sets the ColorMapEntrySize property, available only to objects in the same assembly as TargaHeader.
protected SetColorMapEntrySize ( byte bColorMapEntrySize ) : void
bColorMapEntrySize byte The Color Map Entry Size value read from the file.
return void

SetColorMapFirstEntryIndex() protected method

Sets the ColorMapFirstEntryIndex property, available only to objects in the same assembly as TargaHeader.
protected SetColorMapFirstEntryIndex ( short sColorMapFirstEntryIndex ) : void
sColorMapFirstEntryIndex short The First Entry Index value read from the file.
return void

SetColorMapLength() protected method

Sets the ColorMapLength property, available only to objects in the same assembly as TargaHeader.
protected SetColorMapLength ( short sColorMapLength ) : void
sColorMapLength short The Color Map Length value read from the file.
return void

SetColorMapType() protected method

Sets the ColorMapType property, available only to objects in the same assembly as TargaHeader.
protected SetColorMapType ( ColorMapType eColorMapType ) : void
eColorMapType ColorMapType One of the ColorMapType enumeration values.
return void

SetHeight() protected method

Sets the Height property, available only to objects in the same assembly as TargaHeader.
protected SetHeight ( short sHeight ) : void
sHeight short The Height value read from the file.
return void

SetHorizontalTransferOrder() protected method

Sets the HorizontalTransferOrder property, available only to objects in the same assembly as TargaHeader.
protected SetHorizontalTransferOrder ( HorizontalTransferOrder eHorizontalTransferOrder ) : void
eHorizontalTransferOrder HorizontalTransferOrder One of the HorizontalTransferOrder enumeration values.
return void

SetImageIDLength() protected method

Sets the ImageIDLength property, available only to objects in the same assembly as TargaHeader.
protected SetImageIDLength ( byte bImageIDLength ) : void
bImageIDLength byte The Image ID Length value read from the file.
return void

SetImageIDValue() protected method

Sets the ImageIDValue property, available only to objects in the same assembly as TargaHeader.
protected SetImageIDValue ( string strImageIDValue ) : void
strImageIDValue string The Image ID value read from the file.
return void

SetImageType() protected method

Sets the ImageType property, available only to objects in the same assembly as TargaHeader.
protected SetImageType ( ImageType eImageType ) : void
eImageType ImageType One of the ImageType enumeration values.
return void

SetPixelDepth() protected method

Sets the PixelDepth property, available only to objects in the same assembly as TargaHeader.
protected SetPixelDepth ( byte bPixelDepth ) : void
bPixelDepth byte The Pixel Depth value read from the file.
return void

SetVerticalTransferOrder() protected method

Sets the VerticalTransferOrder property, available only to objects in the same assembly as TargaHeader.
protected SetVerticalTransferOrder ( VerticalTransferOrder eVerticalTransferOrder ) : void
eVerticalTransferOrder VerticalTransferOrder One of the VerticalTransferOrder enumeration values.
return void

SetWidth() protected method

Sets the Width property, available only to objects in the same assembly as TargaHeader.
protected SetWidth ( short sWidth ) : void
sWidth short The Width value read from the file.
return void

SetXOrigin() protected method

Sets the XOrigin property, available only to objects in the same assembly as TargaHeader.
protected SetXOrigin ( short sXOrigin ) : void
sXOrigin short The X Origin value read from the file.
return void

SetYOrigin() protected method

Sets the YOrigin property, available only to objects in the same assembly as TargaHeader.
protected SetYOrigin ( short sYOrigin ) : void
sYOrigin short The Y Origin value read from the file.
return void