REBOL Document

Span? - Function Summary


Returns a block of [min max] bounds for all faces


span? pane


pane - The pane argument. (must be: block)


/part - The part refinement.

count - Limit the number of faces (must be: integer)


This function examines all the faces that are provided in a block, and returns the minimum and maximum positions that includes all of those faces. In other words this function returns the rectangle that would enclose all of the faces provided in the block. This is useful if you want to create a special rectangular area that encloses a set of faces.

This function returns a block that contains the coordinate pairs of the upper left and lower right bounds.

    out: layout [h1 "Heading" button "Test"]
    probe span? out/pane
    [20x20 120x80]

<Back | Index | Next>

Copyright 2004 REBOL Technologies