TKGauge Class Reference
Inherits from | TKView : UIView |
Declared in | TKGauge.h |
Tasks
-
labelTitle
property -
labelSubtitle
property -
labelTitleOffset
property -
labelSubtitleOffset
property -
insets
property -
rectWithInsets
property -
delegate
property -
scales
property -
– addScale:
-
– removeScale:
-
– removeScaleAtIndex:
-
– insertScale:atIndex:
-
– scaleAtIndex:
-
– removeAllScales
Properties
delegate
Represents TKGauge delegate.
@property (nonatomic, weak, nullable) id<TKGaugeDelegate> delegate
Declared In
TKGauge.h
insets
Represents the insets of the gauge view.
@property (nonatomic) UIEdgeInsets insets
Declared In
TKGauge.h
labelSubtitle
Represents the secondary label attached to the gauge.
@property (nonatomic, strong, readonly, nonnull) UILabel *labelSubtitle
Declared In
TKGauge.h
labelSubtitleOffset
Determines the offset of the secondary labels attached to the gauge.
@property (nonatomic) CGPoint labelSubtitleOffset
Declared In
TKGauge.h
labelTitle
Represents the main label attached to the gauge.
@property (nonatomic, strong, readonly, nonnull) UILabel *labelTitle
Declared In
TKGauge.h
labelTitleOffset
Determines the offset of the main labels attached to the gauge.
@property (nonatomic) CGPoint labelTitleOffset
Declared In
TKGauge.h
rectWithInsets
Returns the bounds of the gauge view with insets.
@property (nonatomic) CGRect rectWithInsets
Declared In
TKGauge.h
Instance Methods
addScale:
Adds scale to TKGauge.
- (void)addScale:(TKGaugeScale *__nonnull)scale
Parameters
- scale
The scale that will be added to the gauge.
Declared In
TKGauge.h
insertScale:atIndex:
Inserts scale in TKGauge at given index.
- (void)insertScale:(TKGaugeScale *__nonnull)scale atIndex:(int)index
Parameters
- scale
The scale to insert.
- index
The index that the scale will be inserted to.
Declared In
TKGauge.h
removeScale:
Removes scale from TKGauge.
- (void)removeScale:(TKGaugeScale *__nonnull)scale
Parameters
- scale
The scale that will be removed from the gauge.
Declared In
TKGauge.h