Skip to main content

Metrics

bn 0;
if (r0) {
new.vg.button(bn0, 0,0,1, 100,100, 0, 0);
};

FRAME CALC

zero.frame {
x 0; y 0; w 0; h 0;
};

bn.default.frame {
x 0; y 0; w 100; h 100;
};

bn0.frame {
x 50; y 100; w 50; h 50;
};

FRAME SET

f bn0.frame;
node.set.xywh(u0, bn0, f.x,f.y,f.w,f.h);
set.frame {
bn0 _0;
f _1;
node.set.xywh(u0, bn0, f.x,f.y,f.w,f.h);
};

set.frame(bn0, bn0.frame);