"backgroundBrush"

Defines the fill-pattern for the background of the EWO.

Synopsis

shape.backgroundBrush(string[type[parameter2,parameter3,parameter4]]);

setValue(string shape,"backgroundBrush",string [type[parameter2,parameter3, parameter4]]);

Parameters

Parameter Description
type

Defines the fill-pattern for the background. The following options are available:

  • Outline

  • Solid

  • Pattern

  • Hatch

  • Gradient

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.

Example

In the following example the hatch option is selected for the background.

main()
{
  this.backgroundBrush("[hatch,[cross,8,right]]");
}
Abbildung 1. DialGauge with Hatching

Assignment

DialGauge EWO