AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de dibujo
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 a variable of type WDPic (on the background layer).
Example
MyWDPic is WDPic = "Test.gif"
// Blur image
MyWDPic.Blur()
 
IMG_MyDrawing = MyWDPic
Syntax

Blurring an entire image Hide the details

<Image variable>.Blur([<Radius>])
<Image variable>: WDPic variable
Name of the WDPic variable to be used. Only the background layer will be handled.
<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 variable>.Blur(<Area to blur> [, <Radius>])
<Image variable>: WDPic variable
Name of the WDPic variable to be used. Only the background layer will be handled.
<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.
Component: wd290pnt.dll
Versión mínima requerida
  • Versión 28
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/06/2023

Señalar un error o enviar una sugerencia | Ayuda local