Method Paste
Paste(GenericImage, int, int, GenericImageAlphaBlendMode)
Copy the data of the given image to the specified position in this image.
public virtual void Paste(GenericImage image, int x, int y, GenericImageAlphaBlendMode alphaBlend = GenericImageAlphaBlendMode.Overwrite)
Parameters
imageGenericImageThe image containing the data to copy, must be valid.
xintThe horizontal position of the position to copy the data to.
yintThe vertical position of the position to copy the data to.
alphaBlendGenericImageAlphaBlendModeThis parameter determines whether the alpha values of the original image replace(default) or are composed with the alpha channel of this image. Notice that alpha blending overrides the mask handling.
Remarks
Takes care of the mask color and out of bounds problems.