Inheritance
System.Object
ScrollPhysics
public class ScrollPhysics
Constructors
Declaration
public ScrollPhysics(ScrollPhysics parent)
Parameters
Fields
Declaration
public readonly ScrollPhysics parent
Field Value
Properties
Declaration
public virtual bool allowImplicitScrolling { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual float? dragStartDistanceMotionThreshold { get; }
Property Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public virtual float maxFlingVelocity { get; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public virtual float minFlingDistance { get; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public virtual float minFlingVelocity { get; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public virtual SpringDescription spring { get; }
Property Value
Declaration
public virtual Tolerance tolerance { get; }
Property Value
Methods
Declaration
public virtual float applyBoundaryConditions(ScrollMetrics position, float value)
Parameters
Returns
Type |
Description |
System.Single |
|
Declaration
public virtual float applyPhysicsToUserOffset(ScrollMetrics position, float offset)
Parameters
Type |
Name |
Description |
ScrollMetrics |
position |
|
System.Single |
offset |
|
Returns
Type |
Description |
System.Single |
|
Declaration
public virtual ScrollPhysics applyTo(ScrollPhysics ancestor)
Parameters
Returns
Declaration
protected ScrollPhysics buildParent(ScrollPhysics ancestor)
Parameters
Returns
Declaration
public virtual float carriedMomentum(float existingVelocity)
Parameters
Type |
Name |
Description |
System.Single |
existingVelocity |
|
Returns
Type |
Description |
System.Single |
|
Declaration
public virtual Simulation createBallisticSimulation(ScrollMetrics position, float velocity)
Parameters
Type |
Name |
Description |
ScrollMetrics |
position |
|
System.Single |
velocity |
|
Returns
Declaration
public virtual bool shouldAcceptUserOffset(ScrollMetrics position)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()