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, toString
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
public 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–2018. All rights reserved.