Brush

Identifies a brush to paint with app.useTool() function.

Brush()

local brush = Brush()
local brush = Brush(size)
local brush = Brush(image)
local brush = Brush{
  type=BrushType,
  size=integer,
  angle=-180...180,
  center=Point
  image=Image
  pattern=BrushPattern
  patternOrigin=Point
}

Brush.type

Brush.size

Brush.angle

Brush.image

Brush.center

Brush.pattern

Brush.patternOrigin