PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
<Image variable>.DrawShadow (Function)
In french: <Variable Image>.DessineOmbre
Adds a shadow effect on an image found in an Image variable.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
MyImage is Image
MyImage = "image.png"
// Adds a shadow
MyImage.DrawShadow()

// Adds a yellow shadow
MyImage.DrawShadow(YellowToolhelp)
Syntax
<Image variable>.DrawShadow([<Shadow color> [, <Shadow opacity> [, <Clip>]]])
<Image variable>: Image variable
Name of the Image variable that corresponds to the image to use.
<Shadow color>: Optional integer
Color of the shadow that must be added to the image. This color can correspond 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.
<Clip>: Optional boolean
  • True if the shadow must be clipped,
  • False (default value) otherwise.
Component : wd250pnt.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment