SGaugeNeedle Protocol Reference

Declared in SGaugeNeedle.h
Availability
Related samples

Overview

The needle of the gauge, used to indicate the current value.

The needle sets a custom anchor point, to allow it to rotate around the end of the needle, as opposed to the center. If creating a custom needle, the needle.layer.anchorPoint will need updating, to rotate around the correct point.

Instance Methods

redrawWithValue:

Redraws the needle with an updated value.

- (void)redrawWithValue:(CGFloat)value

Declared In

SGaugeNeedle.h

refreshWithStyle:

Redraws the needle with an updated style.

- (void)refreshWithStyle:(SGaugeStyle *)style

Declared In

SGaugeNeedle.h