The shape doesn't fit full screen. I'm using a 1280 x 720 (16:9) screen. #266
Unanswered
22kashaf-khan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am just trying out the library and when I ran an example like SpaceInvaders or Collision Detector the whole screen was occupied perfectly. But when I tried to draw a simple rectangle shape there is this black area at the bottom and the whole is not utilizing.
void setup()
{
DisplayController.begin();
DisplayController.setResolution(VGA_640x480_60Hz);
canvas.setBrushColor(Color::Black);
canvas.clear();
canvas.setPenColor(Color::BrightYellow);
canvas.drawRectangle(10, 10, 400, 400);
}
void loop()
{
}
Beta Was this translation helpful? Give feedback.
All reactions