BitmapContent.ValidateCopyArguments Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Validates the arguments to the Copy function.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
protected static void ValidateCopyArguments(
	BitmapContent sourceBitmap, 
	Rectangle sourceRegion, 
	BitmapContent destinationBitmap, 
	Rectangle destinationRegion
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

sourceBitmap
Type: Microsoft.Xna.Framework.Content.Pipeline.Graphics.BitmapContent
BitmapContent being copied.
sourceRegion
Type: Microsoft.Xna.Framework.Rectangle
Location of sourceBitmap.
destinationBitmap
Type: Microsoft.Xna.Framework.Content.Pipeline.Graphics.BitmapContent
BitmapContent being overwritten.
destinationRegion
Type: Microsoft.Xna.Framework.Rectangle
Region of bitmap to be overwritten.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop