-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCardDefinition.h
More file actions
61 lines (55 loc) · 1.33 KB
/
CardDefinition.h
File metadata and controls
61 lines (55 loc) · 1.33 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//
// CardDefinition.h
// CoreText
//
// Created by Matthys Strydom on 2011/01/25.
// Copyright 2011 Polymorph Systems. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreText/CoreText.h>
@interface CardDefinition : NSObject {
@private
int PageHeight;
int PageWidth;
CGColorRef CardColor;
CGColorRef BackgroundColor;
int MaxCardHeight;
int MinCardHeight;
int DefaultCardHeight;
int DistanceToMid;
int RightMargin;
int LeftMargin;
int TopMargin;
int BottomMargin;
int CardWidth;
NSString* TextOverflow;
CTFontDescriptorRef Font;
CGColorRef FontColor;
int MaxFontSize;
int MinFontSize;
CTTextAlignment TextAllignment;
}
@property int PageHeight;
@property int PageWidth;
@property CGColorRef CardColor;
@property CGColorRef BackgroundColor;
@property int MaxCardHeight;
@property int MinCardHeight;
@property int DefaultCardHeight;
@property int DistanceToMid;
@property int RightMargin;
@property int LeftMargin;
@property int TopMargin;
@property int BottomMargin;
@property int CardWidth;
@property (retain) NSString* TextOverflow;
@property CTFontDescriptorRef Font;
@property CGColorRef FontColor;
@property int MaxFontSize;
@property int MinFontSize;
@property CTTextAlignment TextAllignment;
/* Things to add still
@property image CardBackgroundImage;
@property image BackgroundImage;
*/
@end