Graphics::setCursorY

Description

void Graphics::setCursorY( int16_t y )

Graphics::setCursorY will set the y-position of the text cursor.

Parameters

  • int16_t y: y-position of the cursor

Returns

none

Example

#include <Gamebuino-Meta.h>

void setup() { gb.begin(); }

void loop() { while(!gb.update()); gb.display.clear();

// set the y-cursor to something else gb.display.setCursorY(10);

gb.display.println("Hello World"); }