Class Brush

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

Methods

Brush:Brush (initialContent) Brush constructor.

Properties

self.Content.get () Returns the content this Brush contains.
self.Content.set (value) Sets the content this Brush contains.
self.Stylesheet.get () Updates and returns the Brush's stylesheet.


Methods

Brush:Brush (initialContent)
Brush constructor.

Parameters:

  • initialContent Color or Gradient The initial content of this Brush Component.

Returns:

    Brush

Properties

self.Content.get ()
Returns the content this Brush contains.

Returns:

    Color or Gradient
self.Content.set (value)
Sets the content this Brush contains.

Parameters:

self.Stylesheet.get ()
Updates and returns the Brush's stylesheet.

Returns:

    string
generated by LDoc 1.4.6 Last updated 2017-11-15 22:27:55