Brush

Defines a Brush Component.

Summary
BrushDefines a Brush Component.
Functions
new
New BrushA Component container that holds either a Color Component or a Gradient Component.
Variables
contentThe Color or Gradient Component this Brush contains.
Properties
Brush Properties

Functions

new

local function new (_,
init_content)

Parameters

init_contentThe initial content of this Brush Component.  Must be a Color or Gradient Component.

Returns

A new Brush Component.

New Brush

A Component container that holds either a Color Component or a Gradient Component.

Summary
Variables
contentThe Color or Gradient Component this Brush contains.
Properties
Brush Properties

Variables

content

local content

The Color or Gradient Component this Brush contains.

Properties

Brush Properties

ContentGets and sets the Brush’s content.  Must be a Color or Gradient Component.
StylesheetReturns the Brush’s content’s Stylesheet.
local function new (_,
init_content)
Defines the Brush Component.
Defines a Gradient Component.
local content
The Color or Gradient Component this Brush contains.
Close