XuniLinearGauge Class Reference

Inherits from XuniGauge : XuniView : UIView
Declared in XuniLinearGauge.h

Overview

The XuniLinearGauge displays a linear scale with an indicator that represents a single value and optional ranges to represent reference values.

  direction

The direction of the gague.

@property (nonatomic) XuniGaugeDirection direction

Discussion

The direction of the gague.

Declared In

XuniLinearGauge.h

– getRangeRect:value:

Get a rectangle of the range.

- (XuniRect *)getRangeRect:(XuniGaugeRange *)rng value:(double)value

Parameters

rng

the range of gague.

value

the given value.

Return Value

a rectangle of the range.

Discussion

Get a rectangle of the range.

Declared In

XuniLinearGauge.h

  isVertical

Gets or sets whether the gauge is vertical.

@property (nonatomic) IBInspectable BOOL isVertical

Discussion

Gets or sets whether the gauge is vertical.

Declared In

XuniLinearGauge.h

  isReversed

Gets or sets whether the gauge is reversed

@property (nonatomic) IBInspectable BOOL isReversed

Discussion

Gets or sets whether the gauge is reversed

Declared In

XuniLinearGauge.h