The TrackBall::Init function method initializes the TrackBall object.
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.
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.
5.0 |
Introduced |