OverScroller.SpringBack(Int32, Int32, Int32, Int32, Int32, Int32) 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.
Call this when you want to 'spring back' into a valid coordinate range.
[Android.Runtime.Register("springBack", "(IIIIII)Z", "GetSpringBack_IIIIIIHandler")]
public virtual bool SpringBack (int startX, int startY, int minX, int maxX, int minY, int maxY);
[<Android.Runtime.Register("springBack", "(IIIIII)Z", "GetSpringBack_IIIIIIHandler")>]
abstract member SpringBack : int * int * int * int * int * int -> bool
override this.SpringBack : int * int * int * int * int * int -> bool
Parameters
- startX
- Int32
Starting X coordinate
- startY
- Int32
Starting Y coordinate
- minX
- Int32
Minimum valid X value
- maxX
- Int32
Maximum valid X value
- minY
- Int32
Minimum valid Y value
- maxY
- Int32
Minimum valid Y value
Returns
true if a springback was initiated, false if startX and startY were already within the valid range.
- Attributes
Remarks
Call this when you want to 'spring back' into a valid coordinate range.
Java documentation for android.widget.OverScroller.springBack(int, int, int, int, 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.