Gray border if size() less than 130pixel ??
in
Programming Questions
•
1 year ago
Hello,
I have the requirement to build a sketch where the Frame is very width but have quite a compressed height, say for instance 1024x100 pixel dimension. However, any width or height less than 130pixel, do get a gray border.
For instance the following example:
I have the requirement to build a sketch where the Frame is very width but have quite a compressed height, say for instance 1024x100 pixel dimension. However, any width or height less than 130pixel, do get a gray border.
For instance the following example:
- size(100,100);
background(#FF00FF);
you will have a 15pixel gray border all around the purple area of the sketch, as attached example.
Is there any way to avoid this, please?
Thank you;
Is there any way to avoid this, please?
Thank you;
1