stroke

stroke( )

Description
Set the color of line and border around  graphics 

Syntax

stroke(r,  g, b) 

Parameters
  r : red (0~255)
  g : green(0~255)
  b : blue(0~255)

Usages
stroke(255, 0, 0);    // red color
stroke(0, 255, 0);    // green color
stroke(0, 0, 255);    // blue color


Examples in arduino

#include "AppGosu.h"
AppGosu app;

void  setup() {
     app.start();
     app.clearAll();

     app.stroke(250, 170, 50);

}
void loop() {

}



Examples in other MCU 


printf("stroke(255,170,50);");
















from AppGosu
-------------------------------------------------------------------





No comments: