tag:support.nodebox.net,2012-11-01:/discussions/nodebox-2-3/217-measureNodeBox: Discussion 2014-06-16T11:56:44Ztag:support.nodebox.net,2012-11-01:Comment/276196272013-07-05T12:31:43Z2013-07-05T12:31:43Zmeasure<div><p>Hello,</p>
<p>You can send the rect node to a lookup node and call for bounds
OR bounds.x, bounds.y, bounds.width and bounds.height.</p>
<p>I've included an example on your end goal by using bounds. I
think it might be easier to use a scale node instead but there is
more than one solution for your problem.</p>
<p>regards<br>
lieven</p></div>lievenmenschaerttag:support.nodebox.net,2012-11-01:Comment/276196272013-07-09T14:42:58Z2014-02-04T19:38:13Zmeasure<div><p>Hey, lievenmenschaert</p>
<p>I'm looking for the API reference where I could find all kinds
of cool attributes like the one you used in this solution, can you
point me to it?</p>
<p>Thanks</p></div>Rafael Santostag:support.nodebox.net,2012-11-01:Comment/276196272014-02-05T19:53:01Z2014-02-05T19:53:01Zmeasure<div><p>hi rafael,</p>
<p>I will change the documentation page for the lookup node this
week.<br>
In advance: lookup can be used to call for a few things:</p>
<ol>
<li>to call for a header key in a csv file<br></li>
<li>to call for x,y in a point<br></li>
<li>to call for bounds (bounds.x, bounds.y, bounds.width,
bounds.height) of<br>
a path or geometry<br></li>
<li>to call for fill, stroke or contours in a path or
geometry.<br></li>
<li>to call for hue, saturation, brightness in a color<br></li>
<li>to call for red, green, blue in a color</li>
</ol>
<p>regards,</p>
<p>lieven</p></div>lievenmenschaert