Share via


BitmapContent Members

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

Public Constructors

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

Public Properties

Name Description
Public Property Height Gets or sets the height of the bitmap, in pixels.
Public Property Identity (Inherited from ContentItem.)
Public Property Name (Inherited from ContentItem.)
Public Property OpaqueData (Inherited from ContentItem.)
Public Property Width Gets or sets the width of the bitmap, in pixels.

Public Methods

Name Description
Public Method Static Copy Overloaded. Copies one bitmap to another.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetPixelData Reads encoded bitmap content.
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method SetPixelData Writes encoded bitmap content.
Public Method ToString Returns a string description of the bitmap resource.
Public Method TryGetFormat Gets the corresponding GPU texture format for 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 a specified bitmap.
Protected Method TryCopyTo Attempts to copy a region of the specified bitmap onto another.
Protected Method Static ValidateCopyArguments Validates the arguments to the Copy function.

See Also

Reference

BitmapContent Class
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace