public class RichMediaPosition extends PdfDictionary
Constructor and Description |
---|
RichMediaPosition()
Constructs a RichMediaPosition dictionary.
|
Modifier and Type | Method and Description |
---|---|
void |
setHAlign(PdfName hAlign)
Set the horizontal alignment.
|
void |
setHOffset(float hOffset)
Sets the offset from the alignment point specified by the HAlign key.
|
void |
setVAlign(PdfName vAlign)
Set the horizontal alignment.
|
void |
setVOffset(float vOffset)
Sets the offset from the alignment point specified by the VAlign key.
|
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 RichMediaPosition()
public void setHAlign(PdfName hAlign)
hAlign
- possible values are PdfName.NEAR, PdfName.CENTER, or PdfName.FAR
public void setVAlign(PdfName vAlign)
vAlign
- possible values are PdfName.NEAR, PdfName.CENTER, or PdfName.FAR
public void setHOffset(float hOffset)
hOffset
- an offset
public void setVOffset(float vOffset)
vOffset
- an offset
Copyright © 2016. All rights reserved.