class Brush
Configuration options for Tool.BRUSH
.
Brush()
Configuration options for |
fun applyOn(settingsList: ly.img.android.pesdk.backend.model.state.manager.SettingsList): void |
|
fun getActions(): kotlin.Array<BrushAction>
Defines all allowed actions for the brush tool menu. Only buttons for allowed actions are visible and shown in the given order. |
|
fun getCanvasActions(): kotlin.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. |
|
fun getColors(): kotlin.Array<ColorPalette>
Defines all available colors that can be applied to the brush. The color pipette is always added. |
|
fun getDefaultColor(): Color
Defines the default brush color. |
|
fun getDefaultHardness(): java.lang.Float
The default hardness factor of the brush. |
|
fun getDefaultSize(): java.lang.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. |
|
fun getMaximumHardness(): java.lang.Float
The maximum hardness factor a brush can have. |
|
fun getMaximumSize(): java.lang.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. |
|
fun getMinimumHardness(): java.lang.Float
The minimum hardness factor a brush can have. |
|
fun getMinimumSize(): java.lang.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 setActions(p: kotlin.Array<BrushAction>): void
Defines all allowed actions for the brush tool menu. Only buttons for allowed actions are visible and shown in the given order. |
|
fun setCanvasActions(p: kotlin.Array<BrushCanvasAction>): void
Defines all allowed actions for the brush tool that are displayed as overlay buttons on the canvas. Only buttons for allowed actions are visible. |
|
fun setColors(p: kotlin.Array<ColorPalette>): void
Defines all available colors that can be applied to the brush. The color pipette is always added. |
|
fun setDefaultColor(p: Color): void
Defines the default brush color. |
|
fun setDefaultHardness(p: java.lang.Float): void
The default hardness factor of the brush. |
|
fun setDefaultSize(p: java.lang.Float): void
The default size of the brush. This value is measured in relation to the smaller side of the image that the user is editing. |
|
fun setMaximumHardness(p: java.lang.Float): void
The maximum hardness factor a brush can have. |
|
fun setMaximumSize(p: java.lang.Float): void
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. |
|
fun setMinimumHardness(p: java.lang.Float): void
The minimum hardness factor a brush can have. |
|
fun setMinimumSize(p: java.lang.Float): void
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 |