View class showing a control wheel with a knob that the user can grab and rotate to point the robot in different directions.
#import <RUICalibrationView.h>
List of all members.
Member Function Documentation
Reset so the control knob is at the top of the view.
- (void) setKnobImage: |
|
(UIImage *) |
image |
|
Set a new image for the calibration knob that the user can grab and rotate.
- Parameters:
-
image | The new image for the calibration knob. |
- (void) setWheelImage: |
|
(UIImage *) |
image |
|
Set a new image for the calibration wheel. If this is nil then the wheel is not drawn.
- Parameters:
-
image | The new image for the calibration wheel. |
Property Documentation
- (CGFloat) controlKnobDiameter [read, write, assign] |
Get or set the control knob diameter.
The target object that is notified whenever the user rotates the calibration wheel.
- (BOOL) rotateView [read, write, assign] |
Set whether the control knob should be moved around the wheel or if the wheel itself should be rotated to indicate the directional change.
- (CGFloat) wheelBorderSize [read, write, assign] |
Get or set the wheel border size. The wheel border keeps the calibration knob a specific distance inside the calibration wheel. A smaller value will move the knob farther out in the wheel.
The documentation for this class was generated from the following file: