共用方式為


PixelBitmapContent.GetRow Method

Gets an array containing a single row of bitmap data.

This method can be used both to read and modify the bitmap contents.

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

Syntax

public T[] GetRow (
         int y
)

Parameters

  • y
    The y component of the bitmap row.

Return Value

Array containing the bitmap row data.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista