Inherits from NSObject
Declared in IGLinearGaugeRange.h

Overview

The linear gauge range is a filled segment that underlays the linear gauge’s scale. The range is specified with a brush and a start and end values that map to the scale. Linear gauge ranges can be used as visual cues to show a break down of the scale. A linear gauge can have any number of ranges.

Properties

brush

Determines the brush of the range.

@property (nonatomic, retain) IGBrush *brush

Declared In

IGLinearGaugeRange.h

endValue

Determines the end value of the range.

@property (nonatomic, assign) double endValue

Declared In

IGLinearGaugeRange.h

innerEndExtent

Determines the end position of the inner part of the range measured from the center of the gauge. The value of this property should be between 0 and 1.

@property (nonatomic, assign) double innerEndExtent

Declared In

IGLinearGaugeRange.h

innerStartExtent

Determines the start position of the inner part of the range measured from the center of the gauge. The value of this property should be between 0 and 1.

@property (nonatomic, assign) double innerStartExtent

Declared In

IGLinearGaugeRange.h

name

@property (nonatomic, retain) NSString *name

outerEndExtent

Determines the end position of the outer part of the range measured from the center of the gauge. The value of this property should be between 0 and 1.

@property (nonatomic, assign) double outerEndExtent

Declared In

IGLinearGaugeRange.h

outerStartExtent

Determines the start position of the outer part of the range measured from the center of the gauge. The value of this property should be between 0 and 1.

@property (nonatomic, assign) double outerStartExtent

Declared In

IGLinearGaugeRange.h

outline

Determines the outline of the range.

@property (nonatomic, retain) IGBrush *outline

Declared In

IGLinearGaugeRange.h

startValue

Determines the start value of the range.

@property (nonatomic, assign) double startValue

Declared In

IGLinearGaugeRange.h

strokeThickness

Determines the thickness of the range’s outline.

@property (nonatomic, assign) double strokeThickness

Declared In

IGLinearGaugeRange.h

Instance Methods

initWithStartValue:andEndValue:

- (instancetype)initWithStartValue:(double)startValue andEndValue:(double)endValue

initWithStartValue:andEndValue:andBrush:

- (instancetype)initWithStartValue:(double)startValue andEndValue:(double)endValue andBrush:(IGBrush *)brush