|
- Coordinates
- Drawing in an image with opacity
- Drawing in PHP
- Drawing in Browser code
<Image>.PixelOpacity (Function) In french: <Image>.PixelOpacité
// Identify the opacity of the pixel (15, 25) // on the "IMG_ImageDrawing" control ResOpacity = IMG_ImageDrawing.PixelOpacity(15, 25)
Syntax
<Result> = <Image control>.PixelOpacity(<X coordinate> , <Y coordinate>)
<Result>: Integer Opacity of specified pixel (included between 0 for transparent and 255 for opaque). <Image control>: Control name Name of Image control to use. <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 top left corner of the image (coordinates: (0.0)). To retrieve the position of a mouse click in an Image control, use MouseXPos and MouseYPos. Drawing in an image with opacity To specify that the drawing in the image manages opacity (Alpha layer), use <Image>.StartDrawing and the dWithOpacity constant. Versions 16 and later New in version 16
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |