A page turning effect
A simple page turning effect
<clutter-page-turn-effect>
is available since Clutter 1.4
double
) (angle double
) (radius float
) ⇒ (ret <clutter-effect>
)Creates a new
<clutter-page-turn-effect>
instance with the given parameters
- period
- the period of the page curl, between 0.0 and 1.0
- angle
- the angle of the page curl, between 0.0 and 360.0
- radius
- the radius of the page curl, in pixels
- ret
- the newly created
<clutter-page-turn-effect>
Since 1.4
<clutter-page-turn-effect>
) (period double
)Sets the period of the page curling, between 0.0 (no curling) and 1.0 (fully curled)
- effect
- a
<clutter-page-turn-effect>
- period
- the period of the page curl, between 0.0 and 1.0
Since 1.4
<clutter-page-turn-effect>
) ⇒ (ret double
)Retrieves the value set using
clutter-page-turn-effect-get-period
- effect
- a
<clutter-page-turn-effect>
- ret
- the period of the page curling
Since 1.4
<clutter-page-turn-effect>
) (angle double
)Sets the angle of the page curling, in degrees
- effect
<clutter-page-turn-effect>
- angle
- the angle of the page curl, in degrees
Since 1.4
<clutter-page-turn-effect>
) ⇒ (ret double
)Retrieves the value set using
clutter-page-turn-effect-get-angle
- effect
- a
<clutter-page-turn-effect>
:- ret
- the angle of the page curling
Since 1.4