PropertyValuesHolder.SetFloatValues(Single[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the animated values for this object to this set of floats.
[Android.Runtime.Register("setFloatValues", "([F)V", "GetSetFloatValues_arrayFHandler")]
public virtual void SetFloatValues (params float[]? values);
[<Android.Runtime.Register("setFloatValues", "([F)V", "GetSetFloatValues_arrayFHandler")>]
abstract member SetFloatValues : single[] -> unit
override this.SetFloatValues : single[] -> unit
Parameters
- values
- Single[]
One or more values that the animation will animate between.
- Attributes
Remarks
Set the animated values for this object to this set of floats. If there is only one value, it is assumed to be the end value of an animation, and an initial value will be derived, if possible, by calling a getter function on the object. Also, if any value is null, the value will be filled in when the animation starts in the same way. This mechanism of automatically getting null values only works if the PropertyValuesHolder object is used in conjunction ObjectAnimator
, and with a getter function derived automatically from propertyName
, since otherwise PropertyValuesHolder has no way of determining what the value should be.
Java documentation for android.animation.PropertyValuesHolder.setFloatValues(float...)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.