PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV, WINDEV Mobile 24 feature!
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
Caution: To find out the prerequisites required to draw according to the different platforms, see Drawing in WINDEV, WEBDEV and WINDEV Mobile.
The following are drawing functions (object syntax):
Versions 24 and later
<Icon variable>.SaveICO
New in version 24
<Icon variable>.SaveICO
<Icon variable>.SaveICO
Saves an image in icon format either in a file, or in memory.
Versions 24 and later
<Image variable>.AlphaBlend
<Image variable>.AlphaBlend
Blends two images together. This allows you to create fade-in effects between 2 images. This function handles the Image controls and the Image variables.
Versions 24 and later
<Image variable>.Background
<Image variable>.Background
Declares the default background color for the rectangles, circles, ... used in an Image variable.
Versions 24 and later
<Image variable>.ChangeMode
<Image variable>.ChangeMode
Changes the drawing mode used by the drawing functions (<Image>.DrawLine, <Image>.DrawRectangle, ....).
Versions 24 and later
<Image variable>.Copy
New in version 24
<Image variable>.Copy
<Image variable>.Copy
Copies an image into another image.
Versions 24 and later
<Image variable>.Crop
New in version 24
<Image variable>.Crop
<Image variable>.Crop
Returns the cropped part of an image. This image is found in an Image variable.
<Image variable>.DominantImageColorReturns the dominant color (i.e. most frequent color) of an image found in an Image variable.
Versions 24 and later
<Image variable>.DrawArc
New in version 24
<Image variable>.DrawArc
<Image variable>.DrawArc
Draws a circle arc on an ellipse arc in an Image variable.
Versions 24 and later
<Image variable>.DrawBorder
<Image variable>.DrawBorder
Draws a border in an Image variable.
Versions 24 and later
<Image variable>.DrawChord
<Image variable>.DrawChord
Draws the chord of a circle (intersection between an ellipse and a straight line) in an Image variable.
Versions 24 and later
<Image variable>.DrawCircle
<Image variable>.DrawCircle
Draws a circle or an ellipse in an Image variable.
Versions 24 and later
<Image variable>.DrawHalo
New in version 24
<Image variable>.DrawHalo
<Image variable>.DrawHalo
Adds a halo effect on an image found in an Image variable].
Versions 24 and later
<Image variable>.DrawLine
New in version 24
<Image variable>.DrawLine
<Image variable>.DrawLine
Draws a line in an Image variable.
Versions 24 and later
<Image variable>.DrawPoint
<Image variable>.DrawPoint
Draws a point in an Image variable.
Versions 24 and later
<Image variable>.DrawPolygon
<Image variable>.DrawPolygon
Draws a polygon in an Image variable.
Versions 24 and later
<Image variable>.DrawPolyline
<Image variable>.DrawPolyline
Draws a line composed of several segments in an Image variable.
Versions 24 and later
<Image variable>.DrawRectangle
<Image variable>.DrawRectangle
Draws a rectangle in an Image variable.
<Image variable>.DrawRectangleGradientDraws a rectangle in an Image variable.
<Image variable>.DrawRoundedRectangleDraws a rounded rectangle in an Image variable.
Versions 24 and later
<Image variable>.DrawShadow
<Image variable>.DrawShadow
Adds a shadow effect on an image found in an Image variable].
Versions 24 and later
<Image variable>.DrawSlice
<Image variable>.DrawSlice
Draws a slice of a circle or an ellipse in an Image variable.
Versions 24 and later
<Image variable>.DrawText
New in version 24
<Image variable>.DrawText
<Image variable>.DrawText
Draw a text in an Image variable.
Versions 24 and later
<Image variable>.DrawTextRTF
<Image variable>.DrawTextRTF
Draws an RTF text in an Image variable.
Versions 24 and later
<Image variable>.EncrustColor
<Image variable>.EncrustColor
Encrusts a color in an image found in an Image variable].
Versions 24 and later
<Image variable>.EndDrawing
<Image variable>.EndDrawing
Frees the image from memory.
Versions 24 and later
<Image variable>.Fill
New in version 24
<Image variable>.Fill
<Image variable>.Fill
Colors an area in an Image variable.
Versions 24 and later
<Image variable>.Font
New in version 24
<Image variable>.Font
<Image variable>.Font
Declares the font that will be used by <Image>.DrawText in an Image variable Image.
<Image variable>.HorizontalSymmetryPerforms a horizontal symmetry of an image in an Image variable.
Versions 24 and later
<Image variable>.InvertColor
<Image variable>.InvertColor
Inverts the colors in an Image variable.
Versions 24 and later
<Image variable>.ModifyHSL
<Image variable>.ModifyHSL
Modifies the hue, saturation and lightness of an image in an Image variable.
Versions 24 and later
<Image variable>.ModifyHue
<Image variable>.ModifyHue
Modifies the hue of an image found in an Image variable.
<Image variable>.ModifyLightnessModifies the lightness of an image in an Image variable.
<Image variable>.ModifySaturationModifies the saturation of an image in an Image variable.
Versions 24 and later
<Image variable>.Pen
New in version 24
<Image variable>.Pen
<Image variable>.Pen
Declares the default color and style for the lines, the rectangles, the circles, ... found in an Image variable.
Versions 24 and later
<Image variable>.PixelColor
<Image variable>.PixelColor
Identifies the color of a pixel contained in an Image variable.
Versions 24 and later
<Image variable>.PixelOpacity
<Image variable>.PixelOpacity
Identifies the opacity of a pixel in an image (in an Image variable) that manages the Alpha layer.
Versions 24 and later
<Image variable>.Resize
New in version 24
<Image variable>.Resize
<Image variable>.Resize
Resizes an image in an Image variable.
Versions 24 and later
<Image variable>.Rotation
New in version 24
<Image variable>.Rotation
<Image variable>.Rotation
Rotates an image in an Image variable.
Versions 24 and later
<Image variable>.SaveImageBMP
<Image variable>.SaveImageBMP
Saves an image contained in an Image variable:
  • in a file in BMP format.
  • in memory.
Versions 24 and later
<Image variable>.SaveImageGIF
<Image variable>.SaveImageGIF
Saves an image found in an Image variable:
  • in a file in GIF format.
  • in memory.
Versions 24 and later
<Image variable>.SaveImageJPEG
<Image variable>.SaveImageJPEG
Saves an image found in an Image variable:
  • in a file in JPEG format.
  • in memory.
Versions 24 and later
<Image variable>.SavePNG
New in version 24
<Image variable>.SavePNG
<Image variable>.SavePNG
Saves an image found in an Image variable:
  • in a file in PNG format.
  • in memory.
Versions 24 and later
<Image variable>.StartDrawing
<Image variable>.StartDrawing
<Image variable>.VerticalSymmetryPerforms a vertical symmetry of an image in an Image variable.
Versions 24 and later
<Image>.AlphaBlend
New in version 24
<Image>.AlphaBlend
<Image>.AlphaBlend
Blends two images together. This allows you to create fade-in effects between 2 images. This function handles the Image controls and the Image variables.
Versions 24 and later
<Image>.Background
New in version 24
<Image>.Background
<Image>.Background
Declares the default background color for the rectangles, circles, ... used in an Image control.
Versions 24 and later
<Image>.ChangeMode
New in version 24
<Image>.ChangeMode
<Image>.ChangeMode
Changes the drawing mode used by the drawing functions (<Image>.DrawLine, <Image>.DrawRectangle, ....).
Versions 24 and later
<Image>.Copy
New in version 24
<Image>.Copy
<Image>.Copy
Copies an image into another image.
Versions 24 and later
<Image>.DominantImageColor
<Image>.DominantImageColor
Returns the dominant (i.e. most frequent) color of an image found in an Image control.
Versions 24 and later
<Image>.DrawArc
New in version 24
<Image>.DrawArc
<Image>.DrawArc
Draws a circle arc or an ellipse arc in an Image control.
Versions 24 and later
<Image>.DrawBorder
New in version 24
<Image>.DrawBorder
<Image>.DrawBorder
Draws a border in an Image control.
Versions 24 and later
<Image>.DrawChord
New in version 24
<Image>.DrawChord
<Image>.DrawChord
Draws the chord of a circle (intersection between an ellipse and a straight line) in an Image control.
Versions 24 and later
<Image>.DrawCircle
New in version 24
<Image>.DrawCircle
<Image>.DrawCircle
Draws a circle or an ellipse in an Image control.
Versions 24 and later
<Image>.DrawLine
New in version 24
<Image>.DrawLine
<Image>.DrawLine
Draws a line in an Image control.
Versions 24 and later
<Image>.DrawPoint
New in version 24
<Image>.DrawPoint
<Image>.DrawPoint
Draws a point in an Image control.
Versions 24 and later
<Image>.DrawPolygon
New in version 24
<Image>.DrawPolygon
<Image>.DrawPolygon
Draws a polygon in an Image control,
Versions 24 and later
<Image>.DrawPolyline
New in version 24
<Image>.DrawPolyline
<Image>.DrawPolyline
Draws a line composed of several segments in an Image control.
Versions 24 and later
<Image>.DrawRectangle
New in version 24
<Image>.DrawRectangle
<Image>.DrawRectangle
Draws a rectangle in an Image control.
Versions 24 and later
<Image>.DrawRoundedRectangle
<Image>.DrawRoundedRectangle
Draws a rounded rectangle in an Image control.
Versions 24 and later
<Image>.DrawSlice
New in version 24
<Image>.DrawSlice
<Image>.DrawSlice
Draws a circle or an ellipse section in an Image control.
Versions 24 and later
<Image>.DrawText
New in version 24
<Image>.DrawText
<Image>.DrawText
Draws a text in an Image control.
Versions 24 and later
<Image>.DrawTextRTF
New in version 24
<Image>.DrawTextRTF
<Image>.DrawTextRTF
Draws an RTF text in an Image control.
Versions 24 and later
<Image>.EndDrawing
New in version 24
<Image>.EndDrawing
<Image>.EndDrawing
Frees the image from memory.
Versions 24 and later
<Image>.Fill
New in version 24
<Image>.Fill
<Image>.Fill
Colors an area in an Image control.
Versions 24 and later
<Image>.Font
New in version 24
<Image>.Font
<Image>.Font
Declares the font that will be used by dTexte in an Image control.
Versions 24 and later
<Image>.HorizontalSymmetry
<Image>.HorizontalSymmetry
Performs an horizontal symmetry of an image found in an Image control.
Versions 24 and later
<Image>.InvertColor
New in version 24
<Image>.InvertColor
<Image>.InvertColor
Inverts the colors:
  • of an Image control,
  • of an Image variable].
Versions 24 and later
<Image>.ModifyHSL
New in version 24
<Image>.ModifyHSL
<Image>.ModifyHSL
Modifies the hue, the saturation and the lightness of an image in an Image control.
Versions 24 and later
<Image>.ModifyHue
New in version 24
<Image>.ModifyHue
<Image>.ModifyHue
Modifies the hue of an image in an Image control.
Versions 24 and later
<Image>.ModifyLightness
New in version 24
<Image>.ModifyLightness
<Image>.ModifyLightness
Modifies the lightness of an image contained in an Image control.
Versions 24 and later
<Image>.ModifySaturation
New in version 24
<Image>.ModifySaturation
<Image>.ModifySaturation
Modifies the saturation of an image in an Image control.
Versions 24 and later
<Image>.Pen
New in version 24
<Image>.Pen
<Image>.Pen
Declares the default color and style for the lines, rectangles, circles, ... found in an Image control.
Versions 24 and later
<Image>.PixelColor
New in version 24
<Image>.PixelColor
<Image>.PixelColor
Identifies the color of a pixel in an Image control.
Versions 24 and later
<Image>.PixelOpacity
New in version 24
<Image>.PixelOpacity
<Image>.PixelOpacity
Identifies the opacity of a pixel in an image (in an Image control) that manages the Alpha layer.
Versions 24 and later
<Image>.Resize
New in version 24
<Image>.Resize
<Image>.Resize
Resizes an image in an Image control.
Versions 24 and later
<Image>.Rotation
New in version 24
<Image>.Rotation
<Image>.Rotation
Rotates an Image control.
Versions 24 and later
<Image>.SaveBMP
New in version 24
<Image>.SaveBMP
<Image>.SaveBMP
Saves an image:
  • in a file in BMP format.
  • in memory.
Versions 24 and later
<Image>.SaveGIF
New in version 24
<Image>.SaveGIF
<Image>.SaveGIF
Saves an image:
  • in a file in GIF format.
  • in memory.
Versions 24 and later
<Image>.SaveJPEG
New in version 24
<Image>.SaveJPEG
<Image>.SaveJPEG
Saves an image:
  • in a file in JPEG format.
  • in memory.
Versions 24 and later
<Image>.SavePNG
New in version 24
<Image>.SavePNG
<Image>.SavePNG
Saves an image:
  • in a file in PNG format.
  • in memory.
Versions 24 and later
<Image>.StartDrawing
New in version 24
<Image>.StartDrawing
<Image>.StartDrawing
Indicates that the drawing functions that will be used are intended for the specified Image control.
Versions 24 and later
<Image>.VerticalSymmetry
New in version 24
<Image>.VerticalSymmetry
<Image>.VerticalSymmetry
Performs a vertical symmetry of an image found in an Image control.
Versions 24 and later
dRectangleDegrade_objet
New in version 24
dRectangleDegrade_objet
dRectangleDegrade_objet
Draws a rectangle in an Image control.
Related Examples:
The drawing functions Unit examples (WINDEV): The drawing functions
[ + ] Using the main drawing functions of WINDEV to:
- Initialize an Image control for drawing
- Draw simple shapes
- Write a text into a drawing
- Change the color in a drawing
Modifying the Hue, Saturation and Lightness Unit examples (WINDEV): Modifying the Hue, Saturation and Lightness
[ + ] Process on the images via the WLanguage dModifyHSL function.
This function is used to modify the hue, the saturation and the lightness of an image.
WD Java Chart Designer Training (WINDEV): WD Java Chart Designer
[ + ] WINDEV enables you to create some Java applications without even knowing Java.
You program with a 5GL (WLanguage) and WINDEV generates the Java code.
The drawing functions of WINDEV are available in Java generation.
This example explains how to create charts with these drawing functions.
Three types of charts are presented in this example:
- the bar chart,
- the scatter chart,
- and the line chart.
WD Magnifier Complete examples (WINDEV): WD Magnifier
[ + ] This example enables you to zoom part of the screen with a magnifier.
The maximum zoom value is set to 8.
Summary of the example supplied with WINDEV:
The WLanguge function named dCopyBlt() and the WLanguage property named ..Opacity allow you to perform a capture of the Windows desktop at the location of a window without this window appearing in the screen shot.
This example uses this tip to zoom the part of the screen found below the magnifier.
WM Notes Cross-platform examples (WINDEV Mobile): WM Notes
[ + ] This example is using the drawing functions of WLanguage for Android and iOS.
It allows you to draw graphic "notes" and to save them.
Android System Android (WINDEV Mobile): Android System
[ + ] This application is a tutorial example presenting some of the new features of WINDEV Mobile for Android.
The following system functions are used:
- NFC
- Multimedia control
- Brightness
- Volume
- WIFI
- Bluetooth
- Toast
- Progress Bar control
- 9-image mode
- Compass
- Accelerometer
- Camera control
- LED
- Vibrations
- Notifications
- Drawing functions
- Internet
Pocket Notes Mobile (WINDEV Mobile): Pocket Notes
[ + ] This example is using the drawing functions of WLanguage.
Summary of the example supplied with WINDEV Mobile:
This example allows you to draw graphic "notes" and to save them. You have the ability to enter keywords in order to easily find your notes.
WW_Drawing_HTML5 Training (WEBDEV): WW_Drawing_HTML5
[ + ] WEBDEV includes some drawing functions in browser code, for the browsers that support the HTML5. standard.
This educational example presents:
- an array of drawings,
- and an implementation: the visual choice by the Web user of the categories of seats when making a reservation for a show.
The drawing functions Unit examples (WEBDEV): The drawing functions
[ + ] This example presents the main drawing functions of WEBDEV and it allows you to:
- Initialize an Image control for drawing
- Draw simple shapes
- Write a text in a drawing
- Change the color in a drawing
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment