ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Drawing functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Blurs the entire given area in an Image control.
Example
// Blur image
IMG_Drawing.Blur()
Syntax

Blurring an entire image Hide the details

<Image control>.Blur([<Radius>])
<Image control>: Control name
Name of the Image control to be used.
<Radius>: Optional integer
Radius around a point in which nearby points are taken into account for blurring. The larger the radius, the more blurred the image will be and the longer the blur will take. The default value is 10.

Blurring an area of an image Hide the details

<Image control>.Blur(<Area to blur> [, <Radius>])
<Image control>: Control name
Name of the Image control to be used.
<Area to blur>: Rectangle or Polygon variable
Image area to be blurred. This area can be defined by
  • a variable of type Rectangle (for simple areas).
  • a variable of type Polygon (for complex areas).
    Remarks:
    • There is no need to close the polygon (the coordinates of last point do not have to be equal to the coordinates of first point). The polygon is automatically "closed".
    • A polygon can have a maximum of 100,000 points.
Coordinates are specified with respect to the upper-left corner of the image (coordinates: (0.0)).
<Radius>: Optional integer
Radius around a point in which nearby points are taken into account for blurring. The larger the radius, the more blurred the image will be and the longer the blur will take. The default value is 10.
Remarks
Component: wd290pnt.dll
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/18/2024

Send a report | Local help