次の方法で共有


BitmapContent Constructor (Int32, Int32)

Initializes a new instance of BitmapContent with the specified width or height.

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

Syntax

protected BitmapContent (
         int width,
         int height
)

Parameters

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

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista