public class

PAGTimeStretchMode

extends Object
java.lang.Object
   ↳ org.libpag.PAGTimeStretchMode

Class Overview

Defines the values used in the setTimeStretchMode method of PAGFile.

Summary

Constants
int None Keep the original playing speed, and display the last frame if the content's duration is less than target duration.
int Repeat Keep the original playing speed, but repeat the content if the content's duration is less than target duration.
int RepeatInverted Keep the original playing speed, but repeat the content in reversed if the content's duration is less than target duration.
int Scale
Public Constructors
PAGTimeStretchMode()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int None

Keep the original playing speed, and display the last frame if the content's duration is less than target duration.

Constant Value: 0 (0x00000000)

public static final int Repeat

Keep the original playing speed, but repeat the content if the content's duration is less than target duration. This is the default mode.

Constant Value: 2 (0x00000002)

public static final int RepeatInverted

Keep the original playing speed, but repeat the content in reversed if the content's duration is less than target duration.

Constant Value: 3 (0x00000003)

public static final int Scale

Constant Value: 1 (0x00000001)

Public Constructors

public PAGTimeStretchMode ()