ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
  • Lightness of black color
  • Miscellaneous
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
Prints an ellipse (in a rectangle).
// Print an ellipse
iEllipse(50, 50, 150, 130, 1, 100, RGB(0,0,0), iDotted, iCrossed)
Syntax
iEllipse(<X1> , <Y1> , <X2> , <Y2> [, <Thickness> [, <Lightness> [, <Color> [, <Line> [, <Brush>]]]]])
<X1>: Real
Horizontal coordinate of the upper-left corner of the rectangle where the ellipse will be drawn (in millimeters).
Value between 0 and the page width (returned by iPageWidth).
<Y1>: Real
Vertical coordinate of the upper-left corner of the rectangle where the ellipse will be drawn (in millimeters).
Value between 0 and the page height (returned by iPageHeight).
<X2>: Real
Horizontal coordinate of the lower-right corner of the rectangle where the ellipse will be drawn (in millimeters).
Value between 0 and the page width (returned by iPageWidth).
<Y2>: Real
Vertical coordinate of the lower-right corner of the rectangle where the ellipse will be drawn (in millimeters).
Value between 0 and the page height (returned by iPageHeight).
<Thickness>: Optional real
Thickness of the ellipse line (in picas). Default value = 1 (one Pica = 0.353 mm).
Caution: Depending on the value of this parameter, the thickness is achieved by adding several lines next to each others from the outside to the inside.
Java This parameter must correspond to an integer value. Otherwise, the thickness will be rounded to the nearest integer value.
<Lightness>: Optional integer (included between 1 and 200)
Rate for the line color and for the background color. If this parameter is:
  • Equal to 0 (default value): no fill.
  • Equal to 100: entirely filled with the specified color.
  • Less than 100: the closer this parameter is to 0, the more the color brightens.
  • Greater than 100: the closer this parameter is to 200, the more the color darkens.
<Color>: Optional integer
Color used for the background and for the border of the ellipse. If this parameter is not specified, the color used is black.
This color can correspond to:
<Line>: Optional integer constant
Type of line.
iContinuous
(default value)
Solid line
iDashedDashed line (-----)
iDotAndDashDot-and-dash line (-.-.)
iDottedDotted line (....)
<Brush>: Optional integer constant
Pattern used to fill the border.
iCrossedCrossed brush
iDiagonalCrossedBrush crossed diagonally
iDownwardDiagonalDownward diagonal brush
iHorizontalHorizontal brush
iSolid
(default value)
Solid brush
iUpwardDiagonalUpward diagonal brush
iVerticalVertical brush
Java This parameter is ignored.
Remarks

Lightness of black color

For the black color, the rate corresponds to a rate of gray whose values are included between 1 (white) and 100 (solid black). In this case, the values greater than 100 will be processed like the value 100.

Miscellaneous

  • The cursor position is not modified when the outline is drawn.
  • The dotted type (iDotted) or the mixed type (iDotAndDash) combined with a thick border may produce unpleasant effects.
Component: wd290prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help