Image.Copy Method (Image, UInt32, UInt32, IntRect)

SFML.Net

ImageCopy Method (Image, UInt32, UInt32, IntRect)
Copy pixels from another image onto this one. This function does a slow pixel copy and should only be used at initialization time

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public void Copy(
	Image source,
	uint destX,
	uint destY,
	IntRect sourceRect
)
Public Sub Copy ( 
	source As Image,
	destX As UInteger,
	destY As UInteger,
	sourceRect As IntRect
)
public:
void Copy(
	Image^ source, 
	unsigned int destX, 
	unsigned int destY, 
	IntRect sourceRect
)
member Copy : 
        source : Image * 
        destX : uint32 * 
        destY : uint32 * 
        sourceRect : IntRect -> unit 

Parameters

source
Type: SFML.GraphicsImage
Source image to copy
destX
Type: SystemUInt32
X coordinate of the destination position
destY
Type: SystemUInt32
Y coordinate of the destination position
sourceRect
Type: SFML.GraphicsIntRect
Sub-rectangle of the source image to copy
See Also