Class Background

Defines a Frame's Background.

Methods

Background:Background (initialContent[, initialAlignment=Alignment.TopLeft[, initialRepeatMode=Repeat.RepeatXY]]) Background Constructor

Properties

self.Content.get () Returns the Image or Brush used in the Background.
self.Content.set (value) Sets the Image or Brush used in the Background.
self.Alignment.get () Returns the Background's content Alignment.
self.Alignment.set (value) Sets the Background's content Alignment.
self.Repeat.get () Returns the Background's content tiling rules.
self.Repeat.set (value) Sets the Background's content tiling rules.
self.Stylesheet.get () Updates and returns the Background's stylesheet.


Methods

Background:Background (initialContent[, initialAlignment=Alignment.TopLeft[, initialRepeatMode=Repeat.RepeatXY]])
Background Constructor

Parameters:

  • initialContent Brush or Image What the Background displays.
  • initialAlignment Alignment Where the content sits in the Background. (default Alignment.TopLeft)
  • initialRepeatMode Repeat Tiling rules for the content. (default Repeat.RepeatXY)

Returns:

    Background

Properties

self.Content.get ()
Returns the Image or Brush used in the Background.

Returns:

    Image or Brush
self.Content.set (value)
Sets the Image or Brush used in the Background.

Parameters:

self.Alignment.get ()
Returns the Background's content Alignment.

Returns:

    Alignment
self.Alignment.set (value)
Sets the Background's content Alignment.

Parameters:

self.Repeat.get ()
Returns the Background's content tiling rules.

Returns:

    Repeat
self.Repeat.set (value)
Sets the Background's content tiling rules.

Parameters:

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

Returns:

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