C# Class Utilities.Wpf.WpfInputSource

Provides mouse input from UIElement.
Inheritance: InputSource
Mostra file Open project: Core2D/Core2D

Public Methods

Method Description
WpfInputSource ( UIElement source, UIElement relative, Point>.Func translate ) : System

Initializes a new instance of the WpfInputSource class.

Private Methods

Method Description
GetObservable ( UIElement target, string eventName, UIElement relative, Point>.Func translate ) : IObservable
ToVector2 ( Point point ) : System.Vector2

Method Details

WpfInputSource() public method

Initializes a new instance of the WpfInputSource class.
public WpfInputSource ( UIElement source, UIElement relative, Point>.Func translate ) : System
source System.Windows.UIElement The source element.
relative System.Windows.UIElement The relative element.
translate Point>.Func The translate function.
return System