|
|
|
|
|
- Coordinates
- Drawing in an image with opacity
- Drawing in PHP
- Drawing in Browser code
<WDPic variable>.PixelOpacity (Function) In french: <Variable WDPic>.PixelOpacité Identifies the opacity of a pixel of an image (background layer of a variable of type WDPic) with an Alpha channel.
MonImageWDPic is WDPic = "Test.gif"
ResOpacité = MonImageWDPic.PixelOpacité(15, 25)
IMG_MonDessin = MonImageWDPic
Syntax
<Result> = <WDPic image>.PixelOpacity(<X-coordinate> , <Y-coordinate>)
<Result>: Integer Opacity of specified pixel (included between 0 for transparent and 255 for opaque). <WDPic image>: WDPic variable Name of the WDPic variable to be used. Only the background layer will be handled. <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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|