p5.accessibility icon indicating copy to clipboard operation
p5.accessibility copied to clipboard

Area of text() ?

Open mithru opened this issue 7 years ago • 7 comments

Current shows something like this:

Your output is a 200 by 200 lavender blue(123, 87, 255) canvas containing the following 3 objects : Hello world(black(0, 0, 0)) at bottom right covering undefined of the canvas

mithru avatar Apr 05 '18 21:04 mithru

Yes! This would be great!

lm-n avatar Apr 18 '18 06:04 lm-n

@lm-n @mithru - was the plan to add an area or remove area from text?

MathuraMG avatar May 22 '18 14:05 MathuraMG

I think the plan is to add the area covered to distinguish between small text and big text and get a better spatial idea of the elements.

lm-n avatar May 22 '18 21:05 lm-n

I believe it currently says area of text is undefined (or something similar) - the hope is to be able to achieve something similar to what @lm-n just mentioned.

mithru avatar May 23 '18 13:05 mithru

Got it, so that would mean using font-size and number of letters to calculate area?

MathuraMG avatar May 23 '18 13:05 MathuraMG

@mithru - lets just show font size

MathuraMG avatar Aug 09 '18 23:08 MathuraMG

@git-ebetts

mithru avatar Sep 20 '18 23:09 mithru