RectEvaluator Constructors
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.
Overloads
RectEvaluator() |
Construct a RectEvaluator that returns a new Rect on every evaluate call. |
RectEvaluator(Rect) |
Constructs a RectEvaluator that modifies and returns |
RectEvaluator(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
RectEvaluator()
Construct a RectEvaluator that returns a new Rect on every evaluate call.
[Android.Runtime.Register(".ctor", "()V", "")]
public RectEvaluator ();
- Attributes
Remarks
Construct a RectEvaluator that returns a new Rect on every evaluate call. To avoid creating an object for each evaluate call, RectEvaluator#RectEvaluator(android.graphics.Rect)
should be used whenever possible.
Java documentation for android.animation.RectEvaluator.RectEvaluator()
.
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
RectEvaluator(Rect)
Constructs a RectEvaluator that modifies and returns reuseRect
in #evaluate(float, android.graphics.Rect, android.graphics.Rect)
calls.
[Android.Runtime.Register(".ctor", "(Landroid/graphics/Rect;)V", "")]
public RectEvaluator (Android.Graphics.Rect? reuseRect);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Rect;)V", "")>]
new Android.Animation.RectEvaluator : Android.Graphics.Rect -> Android.Animation.RectEvaluator
Parameters
- reuseRect
- Rect
A Rect to be modified and returned by evaluate.
- Attributes
Remarks
Constructs a RectEvaluator that modifies and returns reuseRect
in #evaluate(float, android.graphics.Rect, android.graphics.Rect)
calls. The value returned from #evaluate(float, android.graphics.Rect, android.graphics.Rect)
should not be cached because it will change over time as the object is reused on each call.
Java documentation for android.animation.RectEvaluator.RectEvaluator(android.graphics.Rect)
.
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
RectEvaluator(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected RectEvaluator (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Animation.RectEvaluator : nativeint * Android.Runtime.JniHandleOwnership -> Android.Animation.RectEvaluator
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
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.