PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV 25 feature!
  • Coordinates
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Identifies the opacity of a pixel in an image (in a picLayer variable) that manages the Alpha layer.
Example
MyWDPicImage is WDPic = "Test.gif"
MyLayer is picLayer
// Identify the opacity of the pixel (15, 25)
// on the layer
ResOpacity = MyLayer.PixelOpacity(15, 25)
IMG_MyDrawing = MyWDPicImage
Syntax
<Result> = <picLayer image>.PixelOpacity(<X coordinate> , <Y coordinate>)
<Result>: Integer
Opacity of specified pixel (included between 0 for transparent and 255 for opaque).
<picLayer image>: picLayer variable
Name of the picLayer variable 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)).
Component : wd250obj.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment