Table of Contents

Class PanEventArgs

Namespace
Fantas.Input
Assembly
Fantas.dll

Event data for Pan event

public class PanEventArgs : EventArgs
Inheritance
PanEventArgs
Inherited Members

Constructors

PanEventArgs(PointF, Vector2, Vector2)

Initialize Pan event args

public PanEventArgs(PointF location, Vector2 velocity, Vector2 delta)

Parameters

location PointF
velocity Vector2
delta Vector2

Properties

Delta

Translation delta since the begining of Pan event

public Vector2 Delta { get; }

Property Value

Vector2

Location

Position on pan event (Scene coordinates)

public PointF Location { get; }

Property Value

PointF

Velocity

Velocity on pan event

public Vector2 Velocity { get; }

Property Value

Vector2