property right

(r/o) int32 right;

Typ

Zugriff

This property returns the x-coordinate of the lower-right corner of the rectangle.
function onSample()
{
    var factory = shell.factory;
    var rect = (factory) ? factory.createRect(10, 10, 800, 600) : null;
    if (rect)
    {
        shell.print("right = " + rect.right);
    }
}