Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: text ::
struct GraphicCrop
Description describes the cropping of graphic objects. Cropping means to show only parts of the object. Negative values cut the visible area; positive values extend the visible area by filling it with background color. The absolute sum of top and bottom crop must be smaller than the objects original height. The absolute sum of the left and right crop must be smaller than the object's original width. If this property is applied to a graphic object, then this object will correct these values if necessary.

Elements' Summary
Top | contains the top value to cut (if negative) or to extend (if positive)
Bottom | contains the bottom value to cut (if negative) or to extend (if positive)
Left | contains the left value to cut (if negative) or to extend (if positive)
Right | contains the right value to cut (if negative) or to extend (if positive)

Elements' Details
Top
long Top; Description contains the top value to cut (if negative) or to extend (if positive)
Bottom
long Bottom; Description contains the bottom value to cut (if negative) or to extend (if positive)
Left
long Left; Description contains the left value to cut (if negative) or to extend (if positive)
Right
long Right; Description contains the right value to cut (if negative) or to extend (if positive)

Top of Page

Copyright © 2003 Sun Microsystems, Inc.