PSEllipse() |
|
Syntax
Procedure PSEllipse(nTop, nLeft, nBottom, nRight, nThick, nBorderColor, nFillColor, nPattern)
TPageScript:Ellipse(nTop, nLeft, nBottom, nRight, nThick, nBorderColor, nFillColor, nPattern)
Returns
NIL
Description
Use PSEllipse() to print ellipses and circles. The ellipses may have a border in any color and thickness and may be filled using either a color, a pattern or both.
Arguments
nTop, nLeft
Left, Top coordinates of the ellipse, expressed in the currently set unit.
nBottom, nRight
Bottom, right coordinates of the ellipse, expressed in the currently set unit.
nThick
Thickness of the border. Pass 0 for no border.
nBorderColor
Border color if applicable. You may use one of the predefined color or a RGB color. If you do not want a border, either enter 0 for thickness or use the APS_NONE color.
nFillColor
Fill color if applicable. You may use one of the predefined color or a RGB color. If you do not want to fill the ellipse, use APS_NONE.
nPattern
You may want to fill the ellipse using a pattern. You have a choice of 8 different patterns. Pass APS_SOLID or APS_CLEAR when you don't want a pattern.