"needleCenterShift"

Defines the center of the scale (=pivot point of the needle).

Synopsis

shape.needleCenterShift(dyn_int position);

Parameters

Parameter Description
position The delta value by which the x- and y-position is shifted.

Description

Defines the center of the scale (=pivot point of the needle).

Example

In the following example the scale is shifted on the y-axis by the given value 5.

main()
{
  dyn_int di;
  di=makeDynInt(0,5);
  DialGauge_ewo1.needleCenterShift( makeDynInt(0,15));
}
Figure 1. Dial Gauge and a shifted Scale

Assignment

DialGauge EWO