Class BorderSide

A subcomponent that defines individual sides of a Border Component.

Methods

BorderSide:Border (initialWidth[, initialStyle=BorderStyle.None], initialContent, initialRadius) Border constructor.

Properties

self.Width.get () Returns the BorderSide's width.
self.Width.set (value) Sets the BorderSide's width.
self.Style.get () Returns the BorderSide's BorderStyle.
self.Style.set (value) Sets the BorderSide's BorderStyle.
self.Content.get () Returns the BorderSide's content.
self.Content.set (value) Sets the BorderSide's content.
self.Radius.get () Returns the BorderSide's corner radius.
self.Radius.set (value) Sets the BorderSide's corner radius.
self.IsSide.get () If true, this is a left or right BorderSide.
self.IsSide.set (value) Sets a flag determining whether this is a left or right BorderSide, or a top or bottom.
self.Styletable.get () Updates and returns the BorderSide's styletable.


Methods

BorderSide:Border (initialWidth[, initialStyle=BorderStyle.None], initialContent, initialRadius)
Border constructor.

Parameters:

  • initialWidth number The BorderSide's initial width.
  • initialStyle BorderStyle The BorderSide's initial BorderStyle. (default BorderStyle.None)
  • initialContent Brush or Image The BorderSide's initial Brush or Image.
  • initialRadius number The radius of the BorderSide's corners. Only relevant for top and bottom BorderSides.

Returns:

    BorderSide

Properties

self.Width.get ()
Returns the BorderSide's width.

Returns:

    number
self.Width.set (value)
Sets the BorderSide's width.

Parameters:

  • value number
self.Style.get ()
Returns the BorderSide's BorderStyle.

Returns:

    BorderStyle
self.Style.set (value)
Sets the BorderSide's BorderStyle.

Parameters:

self.Content.get ()
Returns the BorderSide's content.

Returns:

    Image or Brush
self.Content.set (value)
Sets the BorderSide's content.

Parameters:

self.Radius.get ()
Returns the BorderSide's corner radius.

Returns:

    number
self.Radius.set (value)
Sets the BorderSide's corner radius. Only useful for top and bottom BorderSides.

Parameters:

  • value number
self.IsSide.get ()
If true, this is a left or right BorderSide. If false, it is a top or bottom BorderSide.

Returns:

    bool
self.IsSide.set (value)
Sets a flag determining whether this is a left or right BorderSide, or a top or bottom.

Parameters:

  • value bool
self.Styletable.get ()
Updates and returns the BorderSide's styletable.

Returns:

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