SGaugeRadial Class Reference

Inherits from SGauge : UIView
Declared in SGaugeRadial.h
Availability
Related samples

Overview

An SGaugeRadial is a gauge displaying a circular arc composed of Ticks, Labels and a Needle

The gauge allows for custom arcs, starting at arcAngleStart and finishing at arcAngleEnd. If these two values are the same, then the gauge is drawn as a complete circle.

The SGaugeRadial inherits from the SGauge base class. The methods and properties on the base class can be used to control all other aspects of the gauge’s behavior.

Properties

arcAngleEnd

The angle in radians to draw the gauge to.

@property (nonatomic, assign) CGFloat arcAngleEnd

Discussion

An angle of 0 represents the top, with positive values going clockwise. Defaults to 3π/4.

Declared In

SGaugeRadial.h

arcAngleStart

The angle in radians to start drawing the gauge from.

@property (nonatomic, assign) CGFloat arcAngleStart

Discussion

An angle of 0 represents the top, with positive values going clockwise. Defaults to -3π/4

Declared In

SGaugeRadial.h