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....



CrossHairPosRad


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

The array property CrossHairPosRad defines the radial 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 1: If you want to set both the radial and the angular 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 unnecessary jitter if the crosshair movement is coupled to the mouse movement.


Last Update: 2023-Dec-13