Class Frame

com.yandex.runtime.image

public class Frame

Constructors

Frame(ImageProvider image, long duration)

A frame in the animated image.

Methods

long getDuration()

Returns the number of milliseconds the image is displayed.

ImageProvider getImage()

Returns a provider of the frame image.

Constructor Detail

Frame

public Frame (ImageProvider image, long duration)

A frame in the animated image.

Method Detail

getDuration

public long getDuration ()

Returns the number of milliseconds the image is displayed.

getImage

public ImageProvider getImage ()

Returns a provider of the frame image.