The TrackBall::Init function method initializes the TrackBall object.
Obj = OBJ_NEW('TrackBall', Center, Radius [, AXIS={0 | 1 | 2}] [, /CONSTRAIN] [, MOUSE={1 | 2 | 4}] )
or
Result = Obj->[TrackBall::]Init( Center, Radius ) (Only in a subclass' Init method.)
| Note |
A two-element vector, [X, Y], specifying the center coordinates of the trackball. X and Y should be specified in device units.
The radius of the trackball, specified in device units.
Any property listed under TrackBall Properties that contains the word "Yes" in the "Init" column of the properties table can be initialized during object creation using this method. To initialize the value of a property, specify the property name as a keyword set equal to the appropriate property value.
Introduced: 5.0