MonobjcMonobjc Documented Class Library
AnimationValueForProgressMessage Method (animation, progress)
NamespacesMonobjc.AppKitNSAnimation..::..NSAnimationDelegateEventDispatcherAnimationValueForProgressMessage(NSAnimation, Single)

Requests a custom curve value for the current progress value.

Original signature is '- (float)animation:(NSAnimation *)animation valueForProgress:(NSAnimationProgress)progress'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public float AnimationValueForProgressMessage(
	NSAnimation animation,
	float progress
)
Public Function AnimationValueForProgressMessage ( _
	animation As NSAnimation, _
	progress As Single _
) As Single
public:
float AnimationValueForProgressMessage(
	NSAnimation^ animation, 
	float progress
)
Parameters
animation (NSAnimation)
An NSAnimation object that is running.
progress (Single)
A float value (typed as NSAnimationProgress) that indicates a progress mark of animation. This value is always between 0.0 and 1.0.
Return Value
A float value representing a custom curve.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)