C# Класс Accord.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.

Наследование: System.EventArgs
Показать файл Открыть проект

Открытые методы

Метод Описание
PositionEventArgs ( float x, float y ) : System

Initializes a new instance of the PositionEventArgs class.

Описание методов

PositionEventArgs() публичный метод

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].
Результат System