|
|
|
|
- Coordinates
- Drawing in an image with opacity
- Drawing in PHP
- Drawing in Browser code
<Image variable>.PixelOpacity (Function) In french: <Variable Image>.PixelOpacité Identifies the opacity of a pixel in an image (in a variable of type Image) with an Alpha channel. MyImage is Image = "Test.gif" // Identify the opacity of the pixel (15, 25) // on the Image variable ResOpacity = MyImage.PixelOpacity(15, 25) IMG_MyDrawing = MyImage
Syntax
<Result> = <Image variable>.PixelOpacity(<X-coordinate> , <Y-coordinate>)
<Result>: Integer Opacity of specified pixel (included between 0 for transparent and 255 for opaque). <Image variable>: Image variable Name of the Image variable to be used. <X-coordinate>: Integer Horizontal position of pixel to use. <Y-coordinate>: Integer Vertical position of pixel to use. Remarks Coordinates Coordinates are given in pixels with respect to the upper-left corner of the image (coordinates: (0.0)). Drawing in an image with opacity
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|