OOF2: The Manual

Name

Square (GfxSquareBrush) — Brush with a square profile.

Synopsis

GfxSquareBrush(size)

Details

  • Base class: BrushStyle
  • Parameters:

    size
    Half the side of the brush in physical units. Type: A real number.

Description

The SquareBrush is used when selecting pixels with the Brush selection tool in the Pixel Selection toolbox. All pixels within a square centered on the mouse are selected as the mouse moves over the image. The edge of the square is twice[35] the given size parameter, which is given in physical units.

Figure 6.84. Selection with a Square Brush

Selection with a Square Brush

(a) A selection being made with the square brush, with size=8. The physical size of the Microstructure is 92×91.

(b) The selection made in (a). Compare with the circular brush in Figure 6.83.




[35] So that a square brush with size=R is about the same size as a circular brush with radius=R.