BrushPreset beta
Interface of @v12-engine/editor
ts
export interface BrushPresetA brush kept by name in the editor's settings (EditorPrefs.brushes): which brush, and how it is set
Members
kind
ts
kind: string;The brush (BrushTool): raise, smooth, paint…
name
ts
name: string;What it is called: what picks it again
shape
ts
shape: 'round' | 'square';Round, or square (BrushOptions.shape)
size
ts
size: number;How far it reaches from its middle, in cells (BrushOptions.radius)
softness
ts
softness: number;How soft its edge is, 0 to 1 (BrushOptions.softness)
strength
ts
strength: number;How much a stroke does each moment it is held (BrushOptions.strength)