Error getting tags :
error 404Error getting tags :
error 404 shadowOffset | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
shadowOffset
Basics
Expander triangle
Type
Property
Syntax
set the shadowOffset of object to pixels
See Also
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies the size and direction of an object's drop shadow.
Examples

set the shadowOffset of button "Prospects" to 2
set the shadowOffset of field "Help" to -6

Additional Comments
Expander triangle

Use the shadowOffset property to change the appearance of drop shadows.

Value:

The shadowOffset of an object is an integer between -128 and 127.

By default, the shadowOffset of a newly created object is 4.

Comments:

Because this also changes the position of the imaginary light source that casts the shadow, the shadowOffset of all objects on a card should usually be the same.

The shadowOffset specifies how far the shadow extends from the edge of the object. If the shadowOffset is positive, the imaginary light source is at the upper left corner of the screen, so the drop shadow falls below and to the right of the object. If the shadowOffset is negative, the direction of the light source is reversed, and the drop shadow falls above and to the left of the object.

If the object's shadow property is false, the shadowOffset has no effect.

User Comments
Expander triangle