API
1.0.0
CAPropertyAnimation.j
Go to the documentation of this file.
1
2
3
4
@implementation
CAPropertyAnimation
:
CAAnimation
5
{
6
CPString
_keyPath;
7
8
BOOL _isCumulative;
9
BOOL _isAdditive;
10
}
11
12
- (id)
init
13
{
14
self
= [
super
init
];
15
16
_keyPath = nil;
17
_isCumulative = NO;
18
_isAdditive = NO;
19
20
return
self
;
21
}
22
23
+ (id)animationWithKeyPath:(
CPString
)aKeyPath
24
{
25
var animation = [
self
animation
];
26
27
[
animation
setKeyPath:aKeyPath];
28
29
return
animation;
30
}
31
32
- (void)setKeyPath:(
CPString
)aKeyPath
33
{
34
_keyPath = aKeyPath;
35
}
36
37
- (
CPString
)keyPath
38
{
39
return
_keyPath;
40
}
41
42
- (void)setCumulative:(BOOL)isCumulative
43
{
44
_isCumulative = isCumulative;
45
}
46
47
- (BOOL)cumulative
48
{
49
return
_isCumulative;
50
}
51
52
- (BOOL)isCumulative
53
{
54
return
_isCumulative;
55
}
56
57
- (void)setAdditive:(BOOL)isAdditive
58
{
59
_isAdditive = isAdditive;
60
}
61
62
- (BOOL)additive
63
{
64
return
_isAdditive;
65
}
66
67
- (BOOL)isAdditive
68
{
69
return
_isAdditive;
70
}
71
72
@end
init
id init()
Definition:
CALayer.j:126
-[CAAnimation init]
id init()
Definition:
CAAnimation.j:45
CPString
An immutable string (collection of characters).
Definition:
CPString.h:2
CAAnimation
Definition:
CAAnimation.h:2
CAPropertyAnimation
Definition:
CAPropertyAnimation.h:2
+[CAAnimation animation]
id animation()
Definition:
CAAnimation.j:40
AppKit
CoreAnimation
CAPropertyAnimation.j
Generated on Mon Sep 10 2018 12:09:56 for API by
1.8.14