2019-02-14 08:37:02 -08:00
|
|
|
class @beta Efl.Canvas.Animation_Rotate extends Efl.Canvas.Animation
|
2017-08-24 19:10:58 -07:00
|
|
|
{
|
|
|
|
[[Efl rotate animation class]]
|
2018-02-21 10:38:39 -08:00
|
|
|
eo_prefix: efl_animation_rotate;
|
|
|
|
data: Efl_Canvas_Animation_Rotate_Data;
|
2017-08-24 19:10:58 -07:00
|
|
|
methods {
|
|
|
|
@property rotate {
|
2017-12-04 07:43:12 -08:00
|
|
|
[[Rotate property]]
|
2017-08-24 19:10:58 -07:00
|
|
|
set {
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
from_degree: double; [[Rotation degree when animation starts]]
|
|
|
|
to_degree: double; [[Rotation degree when animation ends]]
|
|
|
|
pivot: Efl.Canvas.Object; [[Pivot object for the center point. If the pivot object is NULL, then the object is rotated on itself.]]
|
|
|
|
cx: double; [[X relative coordinate of the center point. The left end is 0.0 and the right end is 1.0 (the center is 0.5).]]
|
|
|
|
cy: double; [[Y relative coordinate of the center point. The top end is 0.0 and the bottom end is 1.0 (the center is 0.5).]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@property rotate_absolute {
|
2017-12-04 07:43:12 -08:00
|
|
|
[[Rotate absolute property]]
|
2017-08-24 19:10:58 -07:00
|
|
|
set {
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
from_degree: double; [[Rotation degree when animation starts]]
|
|
|
|
to_degree: double; [[Rotation degree when animation ends]]
|
|
|
|
cx: int; [[X absolute coordinate of the center point.]]
|
|
|
|
cy: int; [[Y absolute coordinate of the center point.]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
|
|
|
Efl.Object.constructor;
|
2018-02-21 10:38:39 -08:00
|
|
|
Efl.Canvas.Animation.animation_apply;
|
2017-08-24 19:10:58 -07:00
|
|
|
}
|
|
|
|
}
|