public class AmpAnim extends AmpImage
A runtime-managed animated image, typically a GIF.
defaultHeight, defaultWidth| Constructor and Description |
|---|
AmpAnim(int width,
int height)
Creates instance of AmpAnim.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribution()
A string that indicates the attribution of the image.
|
String |
getRequiredScript()
Required script that muct be added to head section.
|
void |
setAttribution(String value)
A string that indicates the attribution of the image.
|
String |
toAmpHtml()
Represents amp html version of component.
|
getAlt, getSrc, isValid, setAlt, setSrc, toHtmlgetAttributes, getFallback, getPlaceholder, setFallback, setPlaceholderpublic AmpAnim(int width,
int height)
Creates instance of AmpAnim.
width - width of AmpAnimheight - height of AmpAnimpublic final String getAttribution()
A string that indicates the attribution of the image.
public final void setAttribution(String value)
A string that indicates the attribution of the image.
public String getRequiredScript()
Required script that muct be added to head section.
getRequiredScript in class AmpImageCopyright (c) 2008-2024 Aspose Pty Ltd. All Rights Reserved.