"shadowEnabled"
This function enables or disables the shadow of an object.
Synopsis
setValue(string shape, "shadowEnabled", bool active);
getValue(string shape, "shadowEnabled", bool &active);
shape.shadowEnabled(bool active);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
active |
TRUE = Shadow is displayed FALSE = Shadow is not displayed |
Description
This attribute specifies whether the shadow of an object is displayed or not.
EXAMPLE
The shadow of the object "ELLIPSE1" is enabled and displayed.
main()
{
ELLIPSE1.shadowEnabled(1);
}
Assignment
All graphics objects