The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



CrossHairPosPhi


Unit:SDL_polchart
Class: TPolChart
Declaration: property CrossHairPosPhi [chnum: integer]: double;

The array property CrossHairPosPhi defines the angular position of the crosshair chnum.The parameter chnum may take values between 1 and MaxCrossH (currently 4). Any invalid values of chnum will be ignored when setting the property, or will result in a returned zero value when reading the property.

Hint: If you want to set both the x- and the y-coordinate of the crosshair you should use the method CrossHairSetPos instead of CrossHairPosRad and CrossHairPosPhi. This would be faster than using the individual properties and avoids any jitter if the movement of the crosshair is coupled to the mouse movement.


Last Update: 2023-Dec-13