API
0.9.10
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
-[CAPropertyAnimation isAdditive]
BOOL isAdditive()
Definition:
CAPropertyAnimation.j:67
-[CAPropertyAnimation additive]
BOOL additive()
Definition:
CAPropertyAnimation.j:62
-[CAPropertyAnimation isCumulative]
BOOL isCumulative()
Definition:
CAPropertyAnimation.j:52
-[CAAnimation init]
id init()
Definition:
CAAnimation.j:45
-[CAPropertyAnimation cumulative]
BOOL cumulative()
Definition:
CAPropertyAnimation.j:47
CPString
An immutable string (collection of characters).
Definition:
CPString.h:2
-[CAPropertyAnimation keyPath]
CPString keyPath()
Definition:
CAPropertyAnimation.j:37
CAAnimation
Definition:
CAAnimation.h:2
CAPropertyAnimation
Definition:
CAPropertyAnimation.h:2
-[CAPropertyAnimation init]
id init()
Definition:
CAPropertyAnimation.j:12
+[CAAnimation animation]
id animation()
Definition:
CAAnimation.j:40
AppKit
CoreAnimation
CAPropertyAnimation.j
Generated on Tue Jul 11 2017 16:20:40 for API by
1.8.13