"shadowOffset"

This function specifies the number of pixels that the shadow is offset on the x- and y-axis.

Synopsis

setValue(string shape, "shadowOffset", int x, int y);

getValue(string shape, "shadowOffset", int &x, int &y);

shape.shadowOffset(int x, int y);

Parameters

Parameter Description
shape Name of the object
x Offset on the x-axis
y Offset on the y-axis

Description

This attribute specifies the number of pixels that the shadow of an object is offset on the x- and y-axis.

EXAMPLE

The shadow of "ELLIPSE1" is offset by 15 pixels on the x- and y-axis.

main()
{
  ELLIPSE1.shadowOffset(15, 15);
}
Abbildung 1. A Circle with a Shadow and ShadowOffset of 15, 15

Assignment

All graphics objects