It looks like you're new here. If you want to get involved, click one of these buttons!
Hi,
I get an error when I try to size a box. Are only non-box polygons allowed to be sized?
sq1 = RBA::Polygon::Box::new(x5, y5, x6, y6)
sq2 = sq1.sized(a, b, 2)
I get an error for sq2 indicating Boxes cannot be scaled. Do I need to cover the box into its 4 Point coordinates to allow for sizing?
Thanks,
Vikas
Comments
Hi Vikas,
I'm sure the message is something else - there is no "RBA::Polygon::Box" object.
Use
But boxes are easy to size with "Box#enlarged".
Matthias
:-) Thank you! I am compiling a list of all these subtleties!
Vikas