class Brush
Configuration options for Tool.BRUSH
.
Brush()
Configuration options for |
var actions: Array<BrushAction>?
Defines all allowed actions for the brush tool menu. Only buttons for allowed actions are visible and shown in the given order. |
|
var canvasActions: Array<BrushCanvasAction>?
Defines all allowed actions for the brush tool that are displayed as overlay buttons on the canvas. Only buttons for allowed actions are visible. |
|
var colors: Array<ColorPalette>?
Defines all available colors that can be applied to the brush. The color pipette is always added. |
|
var defaultColor: Color?
Defines the default brush color. |
|
var defaultHardness: Float?
The default hardness factor of the brush. |
|
var defaultSize: Float?
The default size of the brush. This value is measured in relation to the smaller side of the image that the user is editing. |
|
var maximumHardness: Float?
The maximum hardness factor a brush can have. |
|
var maximumSize: Float?
The maximum size that a brush can have. This value is measured in relation to the smaller side of the image that the user is editing. |
|
var minimumHardness: Float?
The minimum hardness factor a brush can have. |
|
var minimumSize: Float?
The minimum size that a brush can have. This value is measured in relation to the
smaller side of the image that the user is editing. If the value is |
fun applyOn(settingsList: SettingsList): Unit |
infix fun <A> A.andRecycle(b: <ERROR CLASS>): <ERROR CLASS> infix fun <A> A.andRecycle(b: Recyclable): <ERROR CLASS> |
|
fun <T> T.loopAsLongNotNull(block: (it: T) -> T?): T |