다음을 통해 공유


Animation.ResolveSize(Dimension, Single, Int32, Int32) Method

Definition

Convert the information in the description of a size to an actual dimension

[Android.Runtime.Register("resolveSize", "(IFII)F", "GetResolveSize_IFIIHandler")]
protected virtual float ResolveSize (Android.Views.Animations.Dimension type, float value, int size, int parentSize);
[<Android.Runtime.Register("resolveSize", "(IFII)F", "GetResolveSize_IFIIHandler")>]
abstract member ResolveSize : Android.Views.Animations.Dimension * single * int * int -> single
override this.ResolveSize : Android.Views.Animations.Dimension * single * int * int -> single

Parameters

type
Dimension

One of Animation.ABSOLUTE, Animation.RELATIVE_TO_SELF, or Animation.RELATIVE_TO_PARENT.

value
Single

The dimension associated with the type parameter

size
Int32

The size of the object being animated

parentSize
Int32

The size of the parent of the object being animated

Returns

The dimension to use for the animation

Attributes

Remarks

Convert the information in the description of a size to an actual dimension

Java documentation for android.view.animation.Animation.resolveSize(int, float, int, int).

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.

Applies to