property bottom

(r/w) styleVariant bottom;

Typ

Zugriff

This property is used to get and set the bottom rectangle value for a style variant.
function onSample()
{
    var rootBox = scene.rootBox;
    if (rootBox)
    {
        var styleVar = rootBox.getStyle("margin");
        if (styleVar && !styleVar.isNull)
        {
            var rectValue = styleVar.rectValue;
            if (rectValue)
            {
                var bottom = rectValue.bottom;
                if (bottom && !bottom.isNull)
                {
                    shell.print("bottom = " + bottom.intValue);
                }
            }
        }
    }
}