Redigera

Dela via


KeyTime.Percent Property

Definition

Gets the time when the key frame ends expressed as a percentage of the total duration of the animation.

public:
 property double Percent { double get(); };
public double Percent { get; }
member this.Percent : double
Public ReadOnly Property Percent As Double

Property Value

A Percent value.

Exceptions

If this instance is not of type Percent.

Remarks

When a key time is expressed as a percentage, the key frame ending time is specified as a percentage of the duration of the key frame animation. For example, if a key frame animation has a duration of four seconds and 75% is given as the KeyTime percentage for the key frame, the key frame will end after the 3rd second.

Applies to