|
|
|
|
|
- Using the drawing functions
dBlur (Function) In french: dFlou // Blur image dBlur(IMG_Drawing)
Syntax
Blurring an area of an image Hide the details
dBlur([<Image>, ] <Area to blur> [, <Radius>])
<Image>: Optional control name or optional Image, WDPic or picLayer variable Image to use. The image can correspond to: - the name of an Image control.
- the name of a variable of type Image.
- the name of a variable of type WDPic. Only the background layer will be handled.
- the name of a variable of type picLayer.
If this parameter is not specified, it is necessary to define the drawing destination with dStartDrawing. <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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|