Class PanMomentum
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
How a gesture's pan keeps moving the map's content after release.
public sealed record PanMomentum : IEquatable<PanMomentum>
- Inheritance
-
PanMomentum
- Implements
- Inherited Members
Remarks
See mln_pan_momentum in the C API reference.
Properties
Decay
public MomentumDecay Decay { get; init; }
Property Value
Velocity
How fast the map's content moved on the screen at release, in logical pixels per second. The pan moves only when this is set.
public ScreenPoint? Velocity { get; init; }