Search Results for

    Show / Hide Table of Contents

    Class ManipulationTracker

    Inheritance
    object
    ManipulationTracker
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Manipulations
    Assembly: Mapsui.dll
    Syntax
    public class ManipulationTracker

    Methods

    | Edit this page View Source

    Manipulate(ReadOnlySpan<ScreenPosition>, Action<Manipulation>)

    Declaration
    public void Manipulate(ReadOnlySpan<ScreenPosition> positions, Action<Manipulation> onManipulation)
    Parameters
    Type Name Description
    ReadOnlySpan<ScreenPosition> positions
    Action<Manipulation> onManipulation
    | Edit this page View Source

    Restart(ReadOnlySpan<ScreenPosition>)

    Call this method before the first Update call. The Update method tracks the start manipulation angle which is needed to for rotation snapping and the previous manipulation state.

    Declaration
    public void Restart(ReadOnlySpan<ScreenPosition> positions)
    Parameters
    Type Name Description
    ReadOnlySpan<ScreenPosition> positions

    Extension Methods

    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX