RobotUIKit API
Public Member Functions | Properties
RUICalibrationView Class Reference

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.

Public Member Functions

(void) - setWheelImage:
(void) - setKnobImage:
(void) - reset

Properties

id< RUICalibrationViewDelegatedelegate
CGFloat wheelBorderSize
CGFloat controlKnobDiameter
BOOL rotateView

Member Function Documentation

- (void) reset

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:
imageThe 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:
imageThe new image for the calibration wheel.

Property Documentation

- (CGFloat) controlKnobDiameter [read, write, assign]

Get or set the control knob diameter.

- (id< RUICalibrationViewDelegate >) delegate [read, write, assign]

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:
 All Classes Functions Properties