Getting Started - Background Widget

A quick introduction to the Background widget.

Overview

Create a basic Background widget

dUI = require 'dmc_ui'

widget = dUI.newBackground()

Adding local style to a Background widget

dUI = require 'dmc_ui'

widget = dUI.newBackground{
    style={
        anchorX=0.5,

        type='rounded'
        view={
            cornerRadius=2
        }
    }
}

All of the Background Widget properties can be seen in the API References.

References