Declaration
public static void DrawImageAlpha(
this Graphics graphics,
Image image,
Rectangle destRect,
float opacity
)Summary
Draws the specified
image into the destination rectangle
destRect of the
graphics object using the specified
opacity.
Parameters
| this Graphics | graphics |
Graphics object to alpha-blend the image onto. |
| Image | image |
Image to draw. |
| Rectangle | destRect |
Destination rectangle within the target Graphics canvas. |
| float | opacity |
Opacity level to use when drawing the image. 0 means nothing changes. 1 means the image is drawn normally. 0.5
means a 50% blend between source and destination. |