Class: GdkPixbuf::PixbufSimpleAnim

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#add_frame(pixbuf) ⇒ nil

Adds a new frame to animation. The pixbuf must have the dimensions specified when the animation was constructed.

Parameters:

Returns:

  • (nil)

#loopTrueClass

Gets whether animation should loop indefinitely when it reaches the end.

Returns:

  • (TrueClass)

    true if the animation loops forever, false otherwise

#loop=(loop) ⇒ TrueClass

Whether the animation should loop when it reaches the end.

Parameters:

  • loop (TrueClass)

Returns:

  • (TrueClass)

    loop

  • (TrueClass)

    loop

#loop?TrueClass

Whether the animation should loop when it reaches the end.

Returns:

  • (TrueClass)

    loop

#new(width, height, rate) ⇒ GdkPixbuf::PixbufSimpleAnim

Creates a new, empty animation.

Parameters:

  • width (Integer)

    the width of the animation

  • height (Integer)

    the height of the animation

  • rate (GdkPixbuf::gfloat)

    the speed of the animation, in frames per second

Returns: