NeoPenConfig
com.onyx.android.sdk.pen.NeoPenConfig
[AI Generated] Configuration object for the native NeoPen renderer. Passed to
NeoPen.initPen() when using brush, fountain, or charcoal pen types via the
native render path. Only required if calling NeoPen directly rather than
relying on TouchHelper’s built-in stroke rendering.
Constants
Constant |
Description |
|---|---|
|
[AI Generated] Native brush pen type. |
|
[AI Generated] Native fountain pen type. |
|
[AI Generated] Native marker pen type. |
|
[AI Generated] Native charcoal pen type. |
|
[AI Generated] Native charcoal V2 type. May be unstable on some devices. |
|
[AI Generated] Default tilt scaling factor. |
Properties
All fields have corresponding getters and setters with fluent (this) returns.
Field |
Type |
Description |
|---|---|---|
|
|
Pen type; one of the |
|
|
ARGB stroke colour. |
|
|
Base stroke width in pixels. |
|
|
[AI Generated] Rotation applied to the pen tip texture (degrees). |
|
|
Whether tilt data varies stroke width. |
|
|
[AI Generated] Scaling factor for tilt influence on stroke width. |
|
|
Maximum pressure value for normalisation. |