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]]
|
2019-05-09 07:16:42 -07:00
|
|
|
c_prefix: efl_animation_rotate;
|
2018-02-21 10:38:39 -08:00
|
|
|
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]]
|
2019-09-02 07:24:26 -07:00
|
|
|
pivot: Efl.Canvas.Object; [[Pivot object for the center point.
|
2019-09-10 07:05:44 -07:00
|
|
|
If the pivot object is $NULL, then the object is rotated on itself.]]
|
2019-10-30 07:29:59 -07:00
|
|
|
center_point : Eina.Vector2; [[Relative coordinate of the center point.]]
|
2017-08-24 19:10:58 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@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]]
|
2019-10-30 07:29:59 -07:00
|
|
|
center_pointer : Eina.Position2D; [[absolute coordinate of the center point.]]
|
2017-08-24 19:10:58 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|