Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
HapticRect

HapticRect Class Reference

Constructors

Instance Methods

Constructors

new HapticRect(parameters)

Initalizes an instance of HapticRect.

Instance Methods

hapticRect.getIdParam() ⇒ Number

Get the IdParam

Kind: Instance method of HapticRect
Returns: Number - the KEY_ID value

hapticRect.getRect() ⇒ Rectangle

Get the Rect

Kind: Instance method of HapticRect
Returns: Rectangle - the KEY_RECT value

hapticRect.setIdParam(id) ⇒ HapticRect

Set the IdParam

Kind: Instance method of HapticRect
Returns: HapticRect - The class instance for method chaining.

ParamTypeDescription
id Number A user control spatial identifier - The desired IdParam.

hapticRect.setRect(rect) ⇒ HapticRect

Set the Rect

Kind: Instance method of HapticRect
Returns: HapticRect - The class instance for method chaining.

ParamTypeDescription
rect Rectangle The position of the haptic rectangle to be highlighted. The center of this rectangle - The desired Rect. will be "touched" when a press occurs.
View on GitHub.com
Previous Section Next Section