PCE version 4C man_modulenamespaceid_tablemodified current_idOIxN class/boxN referenceC hash_tablerefersizeOIxNbothIsNM.box.S.initialiseCman_method_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherit diagnosticsdefaultsbugsOIxNM.box.S.initialiseRICdateOIx(N‘WN initialisenCstringOIxCCreate a box from W and H. The dimensions may be zero or negative.nnnnnsNV.box.fill_offsetCman_variable_card identifiermodule last_modifiednamesummary descriptionsee_alsoinheritdefaultsOIxNV.box.fill_offsetRIOIx:³ÎN fill_offsetnOIx×If a box object is filled with a <-fill_pattern, this pattern is repeated over the entire area of the box. By default, <-fill_offset is @nil and the origin of the pattern is the origin of the window. By setting <-fill_offset to a point, the pattern's origin starts at the specified location relative to the X,Y of the box. A typical usage for this method is to make neat-looking bar of a barchart using a gradient fill-pattern and setting <-fill_offset to point(0,0).nnnsNC.boxCman_class_card identifiermodule last_modifiednamesummary descriptionsee_alsoinherituser_interfacebugsOI xNC.boxRIOI x,}E’NboxnOI xëClass `box' represents a simple rectangle. It is the simples graphical object of PCE. Boxes may have rounded corners (see ->radius); their line may have some ->texture (dash-pattern) and their inside may be file (see ->fill_pattern).nnnnsNM.box.S.shadowOI xNM.box.S.shadowRIOI x,Û½GNshadownOIxAmount of shadow added to this box in pixels. In the current implementation, shadow is always black and painted below and right-of the object.nnnnnsN V.box.shadowOIxN V.box.shadowRIOIx,ÝNshadownOIxbAmount (pixels) of shadow painted below and right of the box. The default is 0 (zero, no shadow).nnnsNV.box.fill_patternOIxNV.box.fill_patternRIOIx:ÌUqN fill_patternnOIx˜If an image object is used as <-fill_pattern, this pattern is repeated over the interior of the box. If a colour object is specified, the box is filled using a solid colour and finally if the initial value @nil is used the box is transparent. See also <-fill_offset. Platform note: Windows 95, 98 and ME, using the 16-bit GDI interface poses severe limitations on the size of the image. Images used for `brushes' must be 8x8 pixels. If XPCE detects one of these criple operating systems it relaxes this limitation in the following ways: * When filling a box with <-radius 0 using a pattern with width or heigth > 8 or not a divisor of 8, the filling is done by XPCE itself, repeating the pattern over the interior of the box. This happens *only* if <-fill_offset is point(0,0). * If the width or height of the pattern < 8, it will create an 8x8 intermediate image and repeat the fill-pattern.CchainsizeOIxIEN$class/bitmap$V.bitmap.statusXnOIx@nil (transparent)sN V.box.radiusOIxN V.box.radiusRIOIx(N‘WNradiusnOIx¶The radius of the circle-fragments used to round the corners. When larger than half the shortest side, this value is used instead of <->radius. A value of 0 implies square corners.nnOIx0 (not rounded)XaCnumber O Ixx