Table of Contents

Property Duration

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Model.dll

Duration

Gets or sets a value that specifies the simple duration.

public string Duration { get; set; }

Property Value

string

The attribute value can be one of the following:

  • Clock-value (time duration) Specifies the length of the simple duration in presentation time. Value must be greater than 0.
  • media Specifies the simple duration as the intrinsic media duration. This is only valid for elements that define media.

    (For SVG's animation elements, if 'media' is specified, the attribute will be ignored.)

  • indefiniteSpecifies the simple duration as indefinite.

If the animation does not have a "dur" attribute, the simple duration is indefinite.