property boxX

(r/o) int32 boxX;

Typ

Zugriff

This property returns the left "x" coordinate of the box relative to the parent box.
function ReadBoxDimensions(boxId)
{
    var bx = scene.getBoxById("boxId");
    if (bx)
    {
        shell.print("X Relative To Parent: " + bx.boxX);
        shell.print("Y Relative To Parent: " + bx.boxY);
        shell.print("Box Height With Padding: " + bx.boxHeight);
        shell.print("Box Height Without Padding: " + bx.contentHeight);
        shell.print("Box Width With Padding: " + bx.boxWidth);
        shell.print("Box Width Without Padding: " + bx.contentWidth);
    }
}