Table of Contents

Property FlingFriction

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

FlingFriction

Gets or sets the fling friction coefficient that controls deceleration speed.

public float FlingFriction { get; set; }

Property Value

float

A value between 0 (no friction, fling continues indefinitely) and 1 (full friction, fling stops immediately). The default is 0.08.

Exceptions

ArgumentOutOfRangeException

value is less than 0 or greater than 1.