Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BrushConfiguration

Hierarchy

  • BrushConfiguration

Index

Properties

Optional colors

colors: Array<NamedColor>

Defines all available colors that can be applied to the brush. The color picker is always added.

Optional defaultColor

defaultColor: Color

color is represented as a number array which encodes as a single gray value or a RGB(A) tuple of floating point values where each channel is defined in the range of `[0, 1]

Optional defaultHardness

defaultHardness: NonNullable<number> = 0.5

Optional defaultSize

defaultSize: NonNullable<number> = 0.05