-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathLDGauges.h
32 lines (22 loc) · 928 Bytes
/
LDGauges.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// LDGauges.h
//
// Created by Luca D'Incà on 29/06/13.
// Copyright (c) 2013 Luca D'Incà. All rights reserved.
//
// This code comes with no warranty, free to use for any purpose
// Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "LDGaugesLayer.h"
@interface LDGauges : UIView
@property (nonatomic, strong) UIColor *fontColor;
@property (nonatomic, strong) UIFont *font;
- (id)initWithFrame:(CGRect)frame startAngle:(CGFloat)startAngle gaugesRadius:(CGFloat)radius
gaugesThickness:(CGFloat)Thickness;
- (id)initWithFrame:(CGRect)frame startAngle:(CGFloat)startAngle center:(CGPoint)center
gaugesRadius:(CGFloat)radius gaugesThickness:(CGFloat)thickness;
- (void)setGaugeRate:(NSInteger)rate;
- (void)setGaugeColor:(UIColor *)color;
- (void)setGaugeBackgroundColor:(UIColor *)color;
@end