PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Adds a shadow effect on an image found in an Image variable.
Example
MyImage is Image
MyImage = "image.png"
// Adds a shadow
dShadow(MyImage)

// Adds a yellow shadow
dShadow(MyImage, YellowToolhelp)
Syntax
dShadow(<Image> [, <Shadow color> [, <Shadow opacity> [, <Clipping>]]])
<Image>: Image variable
Image variable corresponding to the image to use.
<Shadow color>: Optional integer
Color of the shadow that must be added to the image. This color corresponds to:
The shadow is black by default.
<Shadow opacity>: Optional integer
Percentage of opacity for the shadow to add (to be mixed with the existing pixels). This value is set to 100 by default: no opacity is applied.
<Clipping>: Optional boolean
  • True if the shadow must be clipped,
  • False (default value) otherwise.
Component : wd240pnt.dll
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment