"backgroundBrushOff"
Defines the fill-pattern for the background of the EWO when it is switched off.
Synopsis
shape.backgroundBrushOff(string [type[parameter2,parameter3,
parameter4]]);
setValue(string shape,"backgroundBrushOff",string [type[parameter2,parameter3,
parameter4]]");
Parameters
Parameter | Description |
---|---|
type |
Defines the fill-pattern for the background. The following options are available:
Depending on the selected fill-pattern you have to specify the parameter 2 - 4 accordingly. See also Fill-pattern string. |
Description
Defines the fill-pattern for the background of the EWO when it is switched off.
Note that the function "backgroundBrushOff" works for the ToggleSwitch Ewo only for the skin types "BerylSlide" and "BrushedMetalSlide"!
Example
In the following example a picture is used for the EWO background.
main()
{
this.backgroundBrushOff("[pattern,[tile,any,examplepic.gif]]");
}
Assignment
ToggleSwitch EWO