PixbufSimpleAnim

open class PixbufSimpleAnim(pointer: <Error class: unknown class><<Error class: unknown class>>) : PixbufAnimation

An opaque struct representing a simple animation.

Constructors

Link copied to clipboard
constructor(width: Int, height: Int, rate: Float)

Creates a new, empty animation.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gdkpixbufPixbufAnimationPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gdkpixbufPixbufSimpleAnimPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var loop: Boolean

Whether the animation should loop when it reaches the end.

Functions

Link copied to clipboard
open fun addFrame(pixbuf: Pixbuf)

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

Link copied to clipboard
open fun getHeight(): Int

Queries the height of the bounding box of a pixbuf animation.

Link copied to clipboard
open fun getIter(startTime: <Error class: unknown class>? = null): PixbufAnimationIter

Get an iterator for displaying an animation.

Link copied to clipboard
open fun getLoop(): Boolean

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

Link copied to clipboard

Retrieves a static image for the animation.

Link copied to clipboard
open fun getWidth(): Int

Queries the width of the bounding box of a pixbuf animation.

Link copied to clipboard

Checks whether the animation is a static image.

Link copied to clipboard
open fun setLoop(loop: Boolean)

Sets whether @animation should loop indefinitely when it reaches the end.