transport-network-animator / SvgCrumpledImageAttributes
A crumpled, i.e. distorted image, usually a background map, used in conjunction with the Gravitator.
SVG: foreignObject
example
<foreignObject x="500" y="400" width="8000" height="5000" data-crumpled-image="image.png" />
-
SvgAbstractTimedDrawableAttributes
↳
SvgCrumpledImageAttributes
• crumpledImage: string
URL to an image to be used for crumpling.
Required.
SVG: data-crumpled-image
• 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
SvgAbstractTimedDrawableAttributes.from
• name: string
The name. In certain circumstances, this will be used a grouping identifier.
SVG: name
, the standard SVG name attribute
SvgAbstractTimedDrawableAttributes.name
• 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