IManipulator 接口

定义

提供创建操作所需的输入的位置。Provides the position of input that is needed to create a manipulation.

public interface class IManipulator
public interface IManipulator
type IManipulator = interface
Public Interface IManipulator
派生

注解

每个触摸点都IManipulator是一个对象。Each touch point is an IManipulator object. 例如, 如果使用两个手指调整对象的大小, 则将TouchDevice为每个IManipulator手指创建一个实现的。For example, if you use two fingers to resize an object, a TouchDevice, which implements IManipulator, is created for each finger.

属性

Id

获取或设置对象的唯一标识符。Gets or sets a unique identifier for the object.

方法

GetPosition(IInputElement)

返回 IManipulator 对象的位置。Returns the position of the IManipulator object.

ManipulationEnded(Boolean)

在操作结束时调用。Called when the manipulation ends.

事件

Updated

IManipulator 对象更改位置时发生。Occurs when the IManipulator object changes position.

适用于