MImgGetPixelOpacity

Functions ››
Parent Previous Next

nOpacity = MImgGetPixelOpacity( hImage, nX, nY )

Gets the opacity of an image's pixel.

Parameters
hImage
Number: Handle of the image

nX, nY
Number: X,Y coordinate

Return
Number: The pixel's opacity

Example
In this example the opacity of the top left pixel is determined:

Set nOpacity = MImgGetPixelOpacity( hImage, 0, 0 )

See also
About Opacity
MImgSetPixelOpacity
MImgGetPixelColor
MImgSetColorOpacity
MImgSetMaxOpacity
MImgSetOpacity

Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source