RawInkConfiguration
data class RawInkConfiguration(val brush: BrushConfiguration = BrushConfiguration(), val eraser: EraserConfiguration = EraserConfiguration(), val limitRegions: List<Rect> = emptyList(), val excludeRegions: List<Rect> = emptyList(), val regionMode: RegionMode = RegionMode.MULTI_REGION, val maxPointsPerStroke: Int)(source)
Immutable configuration applied whenever a raw-ink session starts or resumes.
Constructors
Link copied to clipboard
constructor(brush: BrushConfiguration = BrushConfiguration(), eraser: EraserConfiguration = EraserConfiguration(), limitRegions: List<Rect> = emptyList(), excludeRegions: List<Rect> = emptyList(), regionMode: RegionMode = RegionMode.MULTI_REGION, maxPointsPerStroke: Int)
Properties
Link copied to clipboard
Brush behavior for pen input.
Link copied to clipboard
Eraser behavior for eraser input.
Link copied to clipboard
Regions excluded from raw-ink input.
Link copied to clipboard
Regions in which raw ink is accepted.
Link copied to clipboard
Safety limit for retained points in one stroke.
Link copied to clipboard
Firmware interpretation of the supplied regions.