The TrackBall::Init function method initializes the TrackBall object.
Syntax
Obj = OBJ_NEW('TrackBall', Center, Radius [, PROPERTY=value] )
or
Result = Obj->[TrackBall::]Init( Center, Radius ) (In a lifecycle method only.)
Note: Keywords can be used in either form. They are omitted in the second form for brevity.
Arguments
Center
A two-element vector, [X, Y], specifying the center coordinates of the trackball. X and Y should be specified in device units.
Radius
The radius of the trackball, specified in device units.
Keywords
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.
Version History