<FILLRECT>

<< Click to Display Table of Contents >>

Navigation:  Common vpxPrint tags > Shapes >

<FILLRECT>

 

Draws a rectangle filled with the value.

 

Syntax :

 

<FILLRECT [| , +, ), ( ]

 

[#n] >  

<FILLRECT)  [border_attribute]   [@FRAME#frameName] >        (version 10.27c)

 

Parameters:

"|" or "+":        

Filled rectangle with a border

")" or "("

Filled rectangle with a rounded border

border_attribute

about_24_h note:

In version 9 and earlier versions 10, a standard corner was applied to round rectangles. That was not very fine for little rectangles.

Starting with the 10.12, a new corner technique was implemented, adjusting the corner size to the rectangle size.

With the 10.25g, you can manage the borders exactly as you want:

 

Fine adjustment of corners, allowed values:

more than one ")": increases the radius value from the default value. Ex.: <FILLRECT)))))>

more than one "(": decreases the radius value from the default value. Ex.: <FILLRECT(((>

<FILLRECT)nnn>: sets the radius to an absolute value.. "<FILLRECT)10>" gives the same value as the old "V9" fixed corner size.

<FILLRECT)+nnn> or <FILLRECT)-nnn>: increases or decreases the radius value from the default value

about_24_h Note: "<FILLRECT)->" is the old fashioned V9 value.

 

[@FRAME#frameName]

The rectangle has the same coordinates as the frame #frameName

 

 

<AT=1,2><#1> <R+10><C+10><FILLRECT#1>

                 -OR-

<AT=1,2><FROM> <BGCOLOR=GREEN><R+10><C+10><FILLRECT>

 

Examples:

<|10>                   sets the border width

<FILLRECT)#1>   Rectangle with round corners starting at point #1

<FILLRECT#1>    Rectangle without borders starting at point # 1

<FILLRECT+#1>  Rectangle with borders from the current point to the point #1

<FILLRECT+@FRAME#1>  Rectangle with borders in the frame #1

 

about_24_h Notes:

a <FILLRECT> rectangle with round corners always has borders. If you want to remove the borders, specify a line color with same value as the

If you don't want to fill the rectangle, use  tag (version 10.12).

The filled rectangles can have a shadow with the <SHADOW> tag

 

Tuto_Rect