Table of Contents

Struct PluginMapInput

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

Input delivered by a map surface.

public readonly record struct PluginMapInput : IEquatable<PluginMapInput>
Implements
Inherited Members

Constructors

PluginMapInput(PluginMapInputKind, PluginMapPixel, double, string?)

Input delivered by a map surface.

public PluginMapInput(PluginMapInputKind Kind, PluginMapPixel Position, double WheelDelta = 0, string? MarkerId = null)

Parameters

Kind PluginMapInputKind

What the pointer did.

Position PluginMapPixel

Where on the map's image the pointer was.

WheelDelta double

How far the wheel turned, for a wheel event; zero otherwise.

MarkerId string

The marker under the pointer, or null when there was none.

Properties

Kind

What the pointer did.

public PluginMapInputKind Kind { get; init; }

Property Value

PluginMapInputKind

MarkerId

The marker under the pointer, or null when there was none.

public string? MarkerId { get; init; }

Property Value

string

Position

Where on the map's image the pointer was.

public PluginMapPixel Position { get; init; }

Property Value

PluginMapPixel

WheelDelta

How far the wheel turned, for a wheel event; zero otherwise.

public double WheelDelta { get; init; }

Property Value

double