public class TouchPoint extends Object
| Constructor and Description |
|---|
TouchPoint() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getForce()
Force (default: 1.0).
|
Double |
getId()
Identifier used to track touch sources between events, must be unique within an event.
|
Double |
getRadiusX()
X radius of the touch area (default: 1.0).
|
Double |
getRadiusY()
Y radius of the touch area (default: 1.0).
|
Double |
getRotationAngle()
Rotation angle (default: 0.0).
|
Double |
getX()
X coordinate of the event relative to the main frame's viewport in CSS pixels.
|
Double |
getY()
Y coordinate of the event relative to the main frame's viewport in CSS pixels.
|
void |
setForce(Double force)
Force (default: 1.0).
|
void |
setId(Double id)
Identifier used to track touch sources between events, must be unique within an event.
|
void |
setRadiusX(Double radiusX)
X radius of the touch area (default: 1.0).
|
void |
setRadiusY(Double radiusY)
Y radius of the touch area (default: 1.0).
|
void |
setRotationAngle(Double rotationAngle)
Rotation angle (default: 0.0).
|
void |
setX(Double x)
X coordinate of the event relative to the main frame's viewport in CSS pixels.
|
void |
setY(Double y)
Y coordinate of the event relative to the main frame's viewport in CSS pixels.
|
public Double getX()
public void setX(Double x)
public Double getY()
public void setY(Double y)
public Double getRadiusX()
public void setRadiusX(Double radiusX)
public Double getRadiusY()
public void setRadiusY(Double radiusY)
public Double getRotationAngle()
public void setRotationAngle(Double rotationAngle)
public Double getForce()
public void setForce(Double force)
public Double getId()
public void setId(Double id)
Copyright © 2020. All rights reserved.