PixelBitmapContent Constructor (Int32, Int32)

Initializes a new instance of PixelBitmapContent with the specified width and height.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public PixelBitmapContent (
         int width,
         int height
)

Parameters

  • width
    Width, in pixels, of the blank pixel bitmap.
  • height
    Height, in pixels, of the blank pixel bitmap.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista