Win32Prn() > Print output methods xHarbour Developers Network  

oWin32Prn:fillRect()

Prints a filled rectangle.

Syntax

:fillRect( <nX1>    , ;
           <nY1>    , ;
           <nX2>    , ;
           <nY2>    , ;
           <nRGBColor>) --> NIL

Arguments

<nX1> and <nY1>
These two numeric values are the X and Y coordinates of the upper-left corner of a rectangle to fill with a color.
<nX2> and <nY2>
These two numeric values are the X and Y coordinates of the lower-right corner of a rectangle to fill with a color.
<nRGBColor>
This is a numeric RGB color value defining the fill color.

Description

Method :fillRect() accepts the coordinates of a rectangle and fills it with the color <nRGBColor>. The return value is NIL.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe