Class Style.BackgroundView.Rectangle

Rectangle View Style Class.

a style object for a Rectangle Background View.

Inherits from:
* Core.Style

Child style of:
* Style.Background

Usage:

     local dUI = require 'dmc_ui'
     local widget = dUI.newBackgroundStyle{
       type='rectangle',
     }
    
     local widget = dUI.newRectangleBackgroundStyle()

Properties

.fillColor () [style] set/get Style value for Widget fill color.
.strokeColor () [style] set/get Style value for Widget border color.
.strokeWidth () [style] set/get Style value for Widget border thickness.


Properties

.fillColor ()
[style] set/get Style value for Widget fill color.

Usage:

  • widget.fillColor = 'center'
  • print( widget.fillColor )
.strokeColor ()
[style] set/get Style value for Widget border color.

Usage:

  • style.strokeColor = {1,1,1,1}
  • print( style.strokeColor )
.strokeWidth ()
[style] set/get Style value for Widget border thickness.

Usage:

  • style.strokeWidth = 2
  • print( style.strokeWidth )
generated by LDoc 1.4.3 Last updated 2015-05-14 11:55:05