public class RichMediaAnimation extends PdfDictionary
RichMediaActivation, Serialized Form
| Constructor and Description |
|---|
RichMediaAnimation(PdfName subtype)
Constructs a RichMediaAnimation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setPlayCount(int playCount)
Sets the number of times the animation is played.
|
void |
setSpeed(float speed)
Sets the speed to be used when running the animation.
|
void |
setSpeed(int speed)
Sets the speed to be used when running the animation.
|
checkType, clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toStringcanBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, typepublic RichMediaAnimation(PdfName subtype)
subtype - possible values are PdfName.NONE, PdfName.LINEAR, PdfName.OSCILLATING
public void setPlayCount(int playCount)
playCount - the play count
public void setSpeed(int speed)
speed - a speed value
public void setSpeed(float speed)
speed - a speed value
Copyright © 1998–2021. All rights reserved.