java.lang.Object | |
↳ | com.htc.painting.engine.MotionPoint |
Motion data used by HtcPaintingView. Each MotionPoint represents a point in Stroke
It contains information specifically used by HtcPaintingView
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
mActionAreaSize | |||||||||||
mActionPressure | |||||||||||
mDistance | |||||||||||
mTimeOffset | |||||||||||
mX | |||||||||||
mY |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
get touch area size of point
| |||||||||||
get touch pressure of point
| |||||||||||
accumulated distance from the head of stroke to this motion point
| |||||||||||
get time offset related to the first point of stroke
| |||||||||||
get X
| |||||||||||
get Y
| |||||||||||
Transform the x, y coordinate of this motion point by input m
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
pressure | Normalized value from 0.0f to 1.0f |
---|---|
touchSize | Normalized value from 0.0f to 1.0f |
distance | distance to the beginning of path |
timeOffset | time offset related to creation time of stroke |
get touch area size of point
get touch pressure of point
accumulated distance from the head of stroke to this motion point
get time offset related to the first point of stroke
Transform the x, y coordinate of this motion point by input m
m | the matrix to be applied |
---|