"needleBrush"

Defines the fill-pattern for the needle.

Synopsis

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

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

Parameters

Parameter Description
type

Defines the fill-pattern for the needle. The default value is "Outline". Possible values are:

  • Outline

  • Solid

  • Pattern

  • Hatch

  • Gradient

For further details about the different fill-patterns please refer to Fill-pattern string.

Description

Defines the fill-pattern for the needle.

Example

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

main()
{
  this.needleBrush("[hatch,[cross,8,right]]");
}
Figure 1. Dial Gauge and Option "Hatch" for the Needle Brush

Assignment

DialGauge EWO