|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.richmedia.RichMediaAnimation
public class RichMediaAnimation
A RichMediaAnimation dictionary specifies the preferred method that conforming readers should use to apply timeline scaling to keyframe animations. It can also specify that keyframe animations be played repeatedly. See ExtensionLevel 3 p80
RichMediaActivation
Field Summary |
---|
Fields inherited from class com.itextpdf.text.pdf.PdfDictionary |
---|
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGES |
Fields inherited from class com.itextpdf.text.pdf.PdfObject |
---|
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
Constructor Summary | |
---|---|
RichMediaAnimation(com.itextpdf.text.pdf.PdfName subtype)
Constructs a RichMediaAnimation. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.itextpdf.text.pdf.PdfDictionary |
---|
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 |
Methods inherited from class com.itextpdf.text.pdf.PdfObject |
---|
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RichMediaAnimation(com.itextpdf.text.pdf.PdfName subtype)
subtype
- possible values are
PdfName.NONE, PdfName.LINEAR, PdfName.OSCILLATINGMethod Detail |
---|
public void setPlayCount(int playCount)
playCount
- the play countpublic void setSpeed(int speed)
speed
- a speed valuepublic void setSpeed(float speed)
speed
- a speed value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |