@DOMObjectAttribute @DOMNameAttribute(name="SVGAnimationElement") public class SVGAnimationElement extends SVGElement implements ISVGTests
The SVGAnimationElement interface is the base interface for all of the animation element interfaces: SVGAnimateElement, SVGSetElement, SVGAnimateColorElement, SVGAnimateMotionElement and SVGAnimateTransformElement.
SVGElement
,
ISVGTests
Node.Flags
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, flags, nodeDocument, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
EventMap
PropertyChanged
Constructor and Description |
---|
SVGAnimationElement(com.aspose.html.dom.DOMName name,
Document doc)
Initializes a new instance of the
SVGElement class. |
Modifier and Type | Method and Description |
---|---|
void |
beginElement()
Creates a begin instance time for the current time.
|
void |
beginElementAt(float offset)
Creates a begin instance time for the current time plus the specified offset.
|
void |
endElement()
Creates an end instance time for the current time.
|
void |
endElementAt(float offset)
Creates a end instance time for the current time plus the specified offset.
|
float |
getCurrentTime()
Returns the current time in seconds relative to time zero for the given time container.
|
SVGStringList |
getRequiredExtensions()
Corresponds to attribute ‘requiredExtensions’ on the given element.
|
SVGStringList |
getRequiredFeatures()
Corresponds to attribute ‘requiredFeatures’ on the given element.
|
float |
getSimpleDuration()
Returns the number of seconds for the simple duration for this animation.
|
float |
getStartTime()
Returns the begin time, in seconds, for this animation element's current interval, if it exists, regardless of whether the interval has begun yet.
|
SVGStringList |
getSystemLanguage()
Corresponds to attribute ‘systemLanguage’ on the given element.
|
SVGElement |
getTargetElement()
The element which is being animated.
|
addSVGAttributeBinding, blur, focus, getClassName_SVGElement_New, getId_SVGElement_New, getOwnerSVGElement, getStyle, getSVGAttributeBindings, getSVGContext, getTabIndex, getViewportElement, isReadOnly, isRendered, setId_SVGElement_New, setTabIndex
attachShadow, equals, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getChildren, getClassName, getComputedStyle, getComputedStyle, getData, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getLocalName, getNamespaceURI, getNextElementSibling, getNodeName, getNodeType, getOuterHTML, getPrefix, getPreviousElementSibling, getSchemaTypeInfo, getShadowRoot, getStyleContainer, getTag, getTagName, getTextContent, hasAttribute, hasAttributeNS, hasAttributes, querySelector, querySelectorAll, remove, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setData, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setOuterHTML, setTextContent
adoptNode, appendChild, cloneNode, deepClone, getBaseURI, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRegisteredObservers, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceAll, replaceChild, setNodeValue, setParentNode, setPrefix, toString
addEventListener, addEventListener, addEventListener, addEventListener, dispatchEvent, dispose, removeEventListener, removeEventListener, removeEventListener
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
public SVGAnimationElement(com.aspose.html.dom.DOMName name, Document doc)
Initializes a new instance of the SVGElement
class.
name
- The element name.doc
- The document.public SVGStringList getRequiredFeatures()
Corresponds to attribute ‘requiredFeatures’ on the given element.
Value: The required features.getRequiredFeatures
in interface ISVGTests
public SVGStringList getRequiredExtensions()
Corresponds to attribute ‘requiredExtensions’ on the given element.
Value: The required extensions.getRequiredExtensions
in interface ISVGTests
public SVGStringList getSystemLanguage()
Corresponds to attribute ‘systemLanguage’ on the given element.
Value: The system language.getSystemLanguage
in interface ISVGTests
@DOMNameAttribute(name="beginElement") public void beginElement()
Creates a begin instance time for the current time. The new instance time is added to the begin instance times list. The behavior of this method is equivalent to beginElementAt(0).
@DOMNameAttribute(name="beginElementAt") public void beginElementAt(float offset)
Creates a begin instance time for the current time plus the specified offset. The new instance time is added to the begin instance times list.
offset
- The offset from the current document time, in seconds, at which to begin the element.@DOMNameAttribute(name="endElement") public void endElement()
Creates an end instance time for the current time. The new instance time is added to the end instance times list. The behavior of this method is equivalent to endElementAt(0).
@DOMNameAttribute(name="endElementAt") public void endElementAt(float offset)
Creates a end instance time for the current time plus the specified offset. The new instance time is added to the end instance times list.
offset
- offset from the current document time, in seconds, at which to end the element.@DOMNameAttribute(name="targetElement") public SVGElement getTargetElement()
The element which is being animated.
Value: The target element.@DOMNameAttribute(name="getStartTime") public float getStartTime()
Returns the begin time, in seconds, for this animation element's current interval, if it exists, regardless of whether the interval has begun yet. If there is no current interval, then a DOMException with code INVALID_STATE_ERR is thrown.
DOMException
- Code DOMException.INVALID_STATE_ERR
.
The animation element does not have a current interval.@DOMNameAttribute(name="getCurrentTime") public float getCurrentTime()
Returns the current time in seconds relative to time zero for the given time container.
@DOMNameAttribute(name="getSimpleDuration") public float getSimpleDuration()
Returns the number of seconds for the simple duration for this animation. If the simple duration is undefined (e.g., the end time is indefinite), then an exception is raised.
DOMException
- Code DOMException.NOT_SUPPORTED_ERR
.
The simple duration is not determined on the given element.