SVGSVGElement.GetCurrentTime method

Returns the current time in seconds relative to the start time for the current SVG document fragment. If getCurrentTime is called before the document timeline has begun (for example, by script running in a ‘script’ element before the document’s SVGLoad event is dispatched), then 0 is returned.

public float GetCurrentTime()

Return Value

The current time in seconds, or 0 if the document timeline has not yet begun.

See Also