forked from andreac/RSSheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RSStyle.h
36 lines (32 loc) · 829 Bytes
/
RSStyle.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
36
//
// NSStyle.h
// excelWriterExample
//
// Created by andrea cappellotto on 14/09/11.
// Copyright 2011 Università degli studi di Trento. All rights reserved.
//
typedef enum {
RSStyleTopAlign = 0,
RSStyleCenterAlign = 1,
RSStyleBottomAlign = 2
}verticalAlign;
typedef enum {
RSStyleLeftAlign = 0,
RSStyleMiddleAlign = 1,
RSStyleRightAlign = 2
}horizontalAlign;
#import <Foundation/Foundation.h>
@interface RSStyle : NSObject
{
verticalAlign alignmentV;
horizontalAlign alignmentH;
UIFont * font;
UIColor * color;
float size;
}
@property(nonatomic, assign)verticalAlign alignmentV;
@property(nonatomic, assign)horizontalAlign alignmentH;
@property(nonatomic, retain)UIFont * font;
@property(nonatomic, retain)UIColor * color;
@property(nonatomic, assign)float size;
@end