transport-network-animator / SvgAbstractTimedDrawableAttributes
There is no need to access this interface and its child interfaces and classes directly.
The attributes documented here should be used in the SVG code as attributes to the respective SVG element tags, while converting the attribute name from camelCase
to data-kebap-case
.
-
SvgAbstractTimedDrawableAttributes
• from: Instant
Indicates when this element shall appear.
Pattern: (?<epoch>\d+) (?<second>\d+)(?<flag> [\w-]+)?
e.g. 2020 5 noanim-nozoom
epoch
: Epochs will be executed in order. Years can be used as epochs.
second
: Seconds reset to 0 with every epoch.
flag
: Optional. reverse
, noanim
, nozoom
, keepzoom
. Can be combined with -
.
See further explanations in root Readme.
SVG: data-from
• name: string
The name. In certain circumstances, this will be used a grouping identifier.
SVG: name
, the standard SVG name attribute
• to: Instant
Indicates when this element shall disappear.
Pattern: (?<epoch>\d+) (?<second>\d+)(?<flag> [\w-]+)?
e.g. 2020 5 noanim-nozoom
epoch
: Epochs will be executed in order. Years can be used as epochs.
second
: Seconds reset to 0 with every epoch.
flag
: Optional. reverse
, noanim
, nozoom
, keepzoom
. Can be combined with -
.
See further explanations in root Readme.
SVG: data-to