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

SFML.Net

ImageCopy Method (Image, UInt32, UInt32, IntRect, Boolean)
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,
	bool applyAlpha
)
Public Sub Copy ( 
	source As Image,
	destX As UInteger,
	destY As UInteger,
	sourceRect As IntRect,
	applyAlpha As Boolean
)
public:
void Copy(
	Image^ source, 
	unsigned int destX, 
	unsigned int destY, 
	IntRect sourceRect, 
	bool applyAlpha
)
member Copy : 
        source : Image * 
        destX : uint32 * 
        destY : uint32 * 
        sourceRect : IntRect * 
        applyAlpha : bool -> 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
applyAlpha
Type: SystemBoolean
Should the copy take in account the source transparency?
See Also