padding

Generic Function

Package: common-graphics

Arguments: picture-control

Returns the value of the padding property of the argument. The value should be a non-negative integer indicating the number of pixels of extra space to place around each button-info's image but inside the button-info borders of a multi-picture-button (multi-picture-buttons are made up of button-info objects describing the picture buttons) or around the image of a picture-button or static-picture.

For a multi-picture-button, the the size of the individual buttons will change to accommodate the specified padding. For a picture-button or static-picture, the image will be stretched as needed to fit with the specified padding (and so the padding will have no effect at all if the stretching property is nil).

padding is a property of the multi-picture-button, picture-button, and static-picture classes.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.