TouchPointList
com.onyx.android.sdk.pen.data.TouchPointList
An ordered, mutable list of TouchPoint objects representing one stroke.
Implements Serializable and Cloneable.
Constructors
Signature |
Description |
|---|---|
|
[AI Generated] Empty list. |
|
[AI Generated] Empty list with pre-allocated capacity. |
|
[AI Generated] Copy constructor. |
|
[AI Generated] Wraps an existing point list. |
Access
Signature |
Description |
|---|---|
|
Returns the underlying point list. |
|
[AI Generated] Returns a potentially smoothed or thinned version suitable for
rendering. May differ from |
|
Number of points in the list. |
|
Returns the point at |
|
Returns |
|
Standard iterator. |
Mutation
Signature |
Description |
|---|---|
|
Appends a point. |
|
Inserts a point at |
|
Appends all points from another list. |
|
Replaces the entire point list. |
|
Removes all points. |
Geometric transforms
Signature |
Description |
|---|---|
|
[AI Generated] Applies an affine transform to all points in-place. Returns |
|
[AI Generated] Scales all x and y values uniformly. |
|
[AI Generated] Scales x by |
|
[AI Generated] Translates all points by |
|
[AI Generated] Rotates all points by |
|
[AI Generated] Mirrors all points across the given axis. |
Static helpers
Signature |
Description |
|---|---|
|
[AI Generated] Returns a deep copy with the internal list detached, safe to hold after the callback returns. |