Class TimedAnimation
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class TimedAnimation : Animation, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
TimedAnimation
- Implements
- Inherited Members
Constructors
TimedAnimation(TimedAnimationHandle)
protected TimedAnimation(TimedAnimationHandle handle)
Parameters
handleTimedAnimationHandle
TimedAnimation(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public TimedAnimation(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
TimedAnimation(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected TimedAnimation(CreationData data)
Parameters
dataCreationData
Fields
AlternatePropertyDefinition
public static readonly Property<bool, TimedAnimation> AlternatePropertyDefinition
Field Value
DurationPropertyDefinition
public static readonly Property<uint, TimedAnimation> DurationPropertyDefinition
Field Value
EasingPropertyDefinition
public static readonly Property<Easing, TimedAnimation> EasingPropertyDefinition
Field Value
RepeatCountPropertyDefinition
public static readonly Property<uint, TimedAnimation> RepeatCountPropertyDefinition
Field Value
ReversePropertyDefinition
public static readonly Property<bool, TimedAnimation> ReversePropertyDefinition
Field Value
ValueFromPropertyDefinition
public static readonly Property<double, TimedAnimation> ValueFromPropertyDefinition
Field Value
ValueToPropertyDefinition
public static readonly Property<double, TimedAnimation> ValueToPropertyDefinition
Field Value
Properties
Alternate
public bool Alternate { get; set; }
Property Value
Duration
public uint Duration { get; set; }
Property Value
Easing
public Easing Easing { get; set; }
Property Value
RepeatCount
public uint RepeatCount { get; set; }
Property Value
Reverse
public bool Reverse { get; set; }
Property Value
ValueFrom
public double ValueFrom { get; set; }
Property Value
ValueTo
public double ValueTo { get; set; }
Property Value
Methods
GetAlternate()
public bool GetAlternate()
Returns
GetDuration()
public uint GetDuration()
Returns
GetEasing()
public Easing GetEasing()
Returns
GetGType()
public static Type GetGType()
Returns
GetRepeatCount()
public uint GetRepeatCount()
Returns
GetReverse()
public bool GetReverse()
Returns
GetValueFrom()
public double GetValueFrom()
Returns
GetValueTo()
public double GetValueTo()
Returns
New(Widget, double, double, uint, AnimationTarget)
public static TimedAnimation New(Widget widget, double from, double to, uint duration, AnimationTarget target)
Parameters
widgetWidgetfromdoubletodoubledurationuinttargetAnimationTarget
Returns
NewFromPointer(nint, bool)
Creates a new managed TimedAnimation instance for a given pointer.
public static TimedAnimation NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new TimedAnimation and sets the properties specified by the construct arguments.
public static TimedAnimation NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetAlternate(bool)
public void SetAlternate(bool alternate)
Parameters
alternatebool
SetDuration(uint)
public void SetDuration(uint duration)
Parameters
durationuint
SetEasing(Easing)
public void SetEasing(Easing easing)
Parameters
easingEasing
SetRepeatCount(uint)
public void SetRepeatCount(uint repeatCount)
Parameters
repeatCountuint
SetReverse(bool)
public void SetReverse(bool reverse)
Parameters
reversebool
SetValueFrom(double)
public void SetValueFrom(double value)
Parameters
valuedouble
SetValueTo(double)
public void SetValueTo(double value)
Parameters
valuedouble