Table of Contents

Class SetCursorPosition

Namespace
Bonsai.Windows.Input
Assembly
Bonsai.Windows.Input.dll

Represents an operator that sets the current position of the mouse cursor.

public class SetCursorPosition : Sink<Point>
Inheritance
SetCursorPosition
Inherited Members

Methods

Process(IObservable<Point>)

Sets the current position of the mouse cursor using an observable sequence of point values.

public override IObservable<Point> Process(IObservable<Point> source)

Parameters

source IObservable<Point>

A sequence of Point values representing the position to set the cursor to.

Returns

IObservable<Point>

An observable sequence that is identical to the source sequence but where there is an additional side effect of updating the cursor position.