Table of Contents

Class SpringAnimation

Namespace
Adw.Internal
Assembly
Adw-1.dll
public class SpringAnimation
Inheritance
SpringAnimation
Inherited Members

Methods

CalculateValue(IntPtr, uint)

Calls native method adw_spring_animation_calculate_value. Version: 1.3

[Version("1.3")]
public static extern double CalculateValue(IntPtr self, uint time)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

time uint

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

CalculateVelocity(IntPtr, uint)

Calls native method adw_spring_animation_calculate_velocity. Version: 1.3

[Version("1.3")]
public static extern double CalculateVelocity(IntPtr self, uint time)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

time uint

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

GetClamp(IntPtr)

Calls native method adw_spring_animation_get_clamp.

public static extern bool GetClamp(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetEpsilon(IntPtr)

Calls native method adw_spring_animation_get_epsilon.

public static extern double GetEpsilon(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

GetEstimatedDuration(IntPtr)

Calls native method adw_spring_animation_get_estimated_duration.

public static extern uint GetEstimatedDuration(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetGType()

Calls native function adw_spring_animation_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetInitialVelocity(IntPtr)

Calls native method adw_spring_animation_get_initial_velocity.

public static extern double GetInitialVelocity(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

GetSpringParams(IntPtr)

Calls native method adw_spring_animation_get_spring_params.

public static extern SpringParamsUnownedHandle GetSpringParams(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

SpringParamsUnownedHandle

Transfer ownership: None Nullable: False

GetValueFrom(IntPtr)

Calls native method adw_spring_animation_get_value_from.

public static extern double GetValueFrom(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

GetValueTo(IntPtr)

Calls native method adw_spring_animation_get_value_to.

public static extern double GetValueTo(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

GetVelocity(IntPtr)

Calls native method adw_spring_animation_get_velocity.

public static extern double GetVelocity(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

New(IntPtr, double, double, SpringParamsUnownedHandle, IntPtr)

Calls native constructor adw_spring_animation_new.

public static extern IntPtr New(IntPtr widget, double from, double to, SpringParamsUnownedHandle springParams, IntPtr target)

Parameters

widget IntPtr

Transfer ownership: None Nullable: False

from double

Transfer ownership: None Nullable: False

to double

Transfer ownership: None Nullable: False

springParams SpringParamsUnownedHandle

Transfer ownership: Full Nullable: False

target IntPtr

Transfer ownership: Full Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

SetClamp(IntPtr, bool)

Calls native method adw_spring_animation_set_clamp.

public static extern void SetClamp(IntPtr self, bool clamp)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

clamp bool

Transfer ownership: None Nullable: False

SetEpsilon(IntPtr, double)

Calls native method adw_spring_animation_set_epsilon.

public static extern void SetEpsilon(IntPtr self, double epsilon)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

epsilon double

Transfer ownership: None Nullable: False

SetInitialVelocity(IntPtr, double)

Calls native method adw_spring_animation_set_initial_velocity.

public static extern void SetInitialVelocity(IntPtr self, double velocity)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

velocity double

Transfer ownership: None Nullable: False

SetSpringParams(IntPtr, SpringParamsHandle)

Calls native method adw_spring_animation_set_spring_params.

public static extern void SetSpringParams(IntPtr self, SpringParamsHandle springParams)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

springParams SpringParamsHandle

Transfer ownership: None Nullable: False

SetValueFrom(IntPtr, double)

Calls native method adw_spring_animation_set_value_from.

public static extern void SetValueFrom(IntPtr self, double value)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

value double

Transfer ownership: None Nullable: False

SetValueTo(IntPtr, double)

Calls native method adw_spring_animation_set_value_to.

public static extern void SetValueTo(IntPtr self, double value)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

value double

Transfer ownership: None Nullable: False