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.
Afficher le fichier Open project: Patapom/GodComplex

Méthodes protégées

Méthode 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 méthode

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.
Résultat void

SetColorMapEntrySize() protected méthode

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.
Résultat void

SetColorMapFirstEntryIndex() protected méthode

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.
Résultat void

SetColorMapLength() protected méthode

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.
Résultat void

SetColorMapType() protected méthode

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.
Résultat void

SetHeight() protected méthode

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.
Résultat void

SetHorizontalTransferOrder() protected méthode

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.
Résultat void

SetImageIDLength() protected méthode

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.
Résultat void

SetImageIDValue() protected méthode

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.
Résultat void

SetImageType() protected méthode

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.
Résultat void

SetPixelDepth() protected méthode

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.
Résultat void

SetVerticalTransferOrder() protected méthode

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.
Résultat void

SetWidth() protected méthode

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.
Résultat void

SetXOrigin() protected méthode

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.
Résultat void

SetYOrigin() protected méthode

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.
Résultat void