Inheritance
System.Object
ViewportOffset
public abstract class ViewportOffset : ChangeNotifier, Listenable
Constructors
Declaration
protected ViewportOffset()
Properties
Declaration
public abstract bool allowImplicitScrolling { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public abstract float pixels { get; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public abstract ScrollDirection userScrollDirection { get; }
Property Value
Methods
Declaration
public abstract IPromise animateTo(float to, TimeSpan duration, Curve curve)
Parameters
Type |
Name |
Description |
System.Single |
to |
|
System.TimeSpan |
duration |
|
Curve |
curve |
|
Returns
applyContentDimensions(Single, Single)
Declaration
public abstract bool applyContentDimensions(float minScrollExtent, float maxScrollExtent)
Parameters
Type |
Name |
Description |
System.Single |
minScrollExtent |
|
System.Single |
maxScrollExtent |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public abstract bool applyViewportDimension(float viewportDimension)
Parameters
Type |
Name |
Description |
System.Single |
viewportDimension |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public abstract void correctBy(float correction)
Parameters
Type |
Name |
Description |
System.Single |
correction |
|
Declaration
protected virtual void debugFillDescription(List<string> description)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<System.String> |
description |
|
Declaration
public static ViewportOffset fixed(float value)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
Returns
Declaration
public abstract void jumpTo(float pixels)
Parameters
Type |
Name |
Description |
System.Single |
pixels |
|
Declaration
public virtual IPromise moveTo(float to, TimeSpan? duration, Curve curve = null, bool clamp = true)
Parameters
Type |
Name |
Description |
System.Single |
to |
|
System.Nullable<System.TimeSpan> |
duration |
|
Curve |
curve |
|
System.Boolean |
clamp |
|
Returns
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Declaration
public static ViewportOffset zero()
Returns