property x

(r/w) int32 x;

Typ

Zugriff

This property is used to get and set the x-coordinate of the point.
function onSample()
{
    var factory = shell.factory;
    var pt = (factory) ? factory.createPoint(10, 10) : null;
    if (pt)
    {
        shell.print("x = " + pt.x);
        shell.print("y = " + pt.y);
    }
}