C# Class AForge.Controls.ManipulatorControl.PositionEventArgs

Class, which summarizes arguments of manipulator's position change event.

Properties of this class allow to get: X/Y coordinates of manipulator in Cartesian coordinate system, where X axis is directed from center of the control to the right and Y axis is directed from center to the top. Both coordinates are measured in [-1, 1] range. Theta and R coordinates of manipulator in Polar coordinate system.

Inheritance: System.EventArgs
Exibir arquivo Open project: holisticware-admin/MonoVersal.AForgeNET

Public Methods

Method Description
PositionEventArgs ( float x, float y ) : System

Initializes a new instance of the PositionEventArgs class.

Method Details

PositionEventArgs() public method

Initializes a new instance of the PositionEventArgs class.
public PositionEventArgs ( float x, float y ) : System
x float X coordinate of manipulator, [-1, 1].
y float Y coordinate of manipulator, [-1, 1].
return System