Class Background
Defines a Frame's Background.
-
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
-
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