PixelBitmapContent Members

The following tables list the members exposed by the PixelBitmapContent type.

Public Constructors

Name Description
Public Method PixelBitmapContent Overloaded. Initializes a new instance of PixelBitmapContent.

Public Properties

Name Description
Public Property Height (Inherited from BitmapContent.)
Public Property Identity (Inherited from ContentItem.)
Public Property Name (Inherited from ContentItem.)
Public Property OpaqueData (Inherited from ContentItem.)
Public Property Width (Inherited from BitmapContent.)

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetPixel Gets the pixel value at the specified location in the bitmap.
Public Method GetPixelData Gets the bitmap content as an array of encoded bytes.
Public Method GetRow Gets an array containing a single row of bitmap data.
Public Method GetType (Inherited from Object.)
Public Method ReplaceColor Searches for all pixels matching the specified color and replaces them with a new value.
Public Method SetPixel Sets the pixel value at the specified location in the bitmap.
Public Method SetPixelData Sets the bitmap content using the specified encoded byte array.
Public Method ToString Gets a string description of the bitmap.
Public Method TryGetFormat Gets the GPU texture format that corresponds to the specified bitmap type.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method TryCopyFrom Attempts to copy a region from the specified bitmap.
Protected Method TryCopyTo Attempts to copy a region to the specified bitmap.

See Also

Reference

PixelBitmapContent Generic Class
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace