2017-08-24 19:10:58 -07:00
|
|
|
import efl_animation_types;
|
|
|
|
|
|
|
|
class Efl.Animation.Rotate (Efl.Animation)
|
|
|
|
{
|
|
|
|
[[Efl rotate animation class]]
|
|
|
|
data: Efl_Animation_Rotate_Data;
|
|
|
|
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-01-16 03:31:15 -08:00
|
|
|
Efl.Animation.animation_apply;
|
2017-08-24 19:10:58 -07:00
|
|
|
}
|
|
|
|
}
|