-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathUTLabel.h
35 lines (27 loc) · 793 Bytes
/
UTLabel.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
33
34
35
//
// UTLabel.h
// RingFinder
//
// Created by Daniel Morrow on 4/27/10.
// Copyright 2010 Tiffany & Co.. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface UTLabel : UILabel
{
BOOL _textBlock;
BOOL _initialized;
float _x;
float _y;
float _width;
float _height;
}
@property (nonatomic, assign) BOOL textBlock;
@property (nonatomic, assign) float x;
@property (nonatomic, assign) float y;
@property (nonatomic, assign) float width;
@property (nonatomic, assign) float height;
+(id) textLine:(NSString *)t font:(UIFont *)f x:(float)xPos y:(float)yPos;
+(id) textBlock:(NSString *)t font:(UIFont *)f x:(float)xPos y:(float)yPos width:(float)w;
-(id) initWithText:(NSString *)t font:(UIFont *)f x:(float)xPos y:(float)yPos width:(float)w;
-(void) resize;
@end