XML technologies / SVG / Using animations / Ways to implement animations / Specifying time values
(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)
Animations often require time values for duration or starting time, for example. Several formats are available; the table lists the main ones.
Table: Defining time values for SVG animations.
Time values | Syntax | Example | Meaning |
|---|---|---|---|
Full clock value | Stunden:Minuten:Sekunden | 01:30:00 | 1 hour, 30 minutes, 0 seconds |
Partial clock value | Minuten:Sekunden | 1:30 | 1 minute, 30 seconds |
Hours | Stunden.Minuten h | 3.2h | 3 hours, 12 minutes |
Seconds | Zahl s | 3s | 3 seconds |
Milliseconds | Zahl ms | 30ms | 30 milliseconds |
Copyright © verlag moderne industrie GmbH 2001
You may print the online version for your private use.
Otherwise, this chapter from “Das Einsteigerseminar SVG — Webgrafiken mit XML” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
verlag moderne industrie GmbH, Justus-von-Liebig-Straße 1, D-86899 Landsberg/Lech, fon ++49 (0) 81 91 / 125 – 0, leserservice(at)mi-verlag.de
back to top