property left

(r/w) int32 left;

Typ

Zugriff

This property sets and gets the x-coordinate of the upper-left corner of the rectangle. This property is the same as x.
function onSample()
{
    var factory = shell.factory;
    var rect = (factory) ? factory.createRect(10, 10, 800, 600) : null;
    if (rect)
    {
        shell.print("left = " + rect.left);
    }
}