Articles Posted by the Author:

  • loadImage()

    loadImage()

    描述 载入图片到 PImage 物件。 语法 screen.loadImage(name); 参数 name:在 SD 卡中的图片名称,型态为 char array 回传 无回传值 范例 See also - image() - PImage 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public […]


  • PImage.isValid()

    PImage.isValid()

    描述 检查 PImage 物件裡存放的图片是否符合规范。 语法 image.isValid(); 参数 无参数 回传 boolean:如果存放的图片符合规范回传 true,反之回传 false 范例 See also - image - loadImage( ) - PImage.width( ) - PImage.height( ) 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference […]


  • PImage.width()

    PImage.width()

    描述 取得 PImage 物件中存放的图片的宽度。 语法 image.width(); 参数 无参数 回传 int:图片宽度,单位为像 范例 See also - image - loadImage( ) - PImage.isValid( ) - PImage.height( ) 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released […]


  • PImage()

    PImage()

    描述 存放要显示在萤幕上的图片的类别。要使用 PImage 必须引入 SD 函式库。 语法 PImage image; 参数 image:PImage 物件的名称 回传 无回传值 范例 See also - image - loadImage() - isValid() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into […]


  • PImage.height()

    PImage.height()

    描述 取得 PImage 物件中存放的图片的高度。 语法 image.height(); 参数 无参数 回传 int:图片高度,单位为像 范例 See also - image - loadImage( ) - PImage.isValid( ) - PImage.width( ) 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released […]


  • image()

    image()

    描述 显示 SD 卡中的图片到萤幕上指定的位置。 语法 screen.image(image, xPos, yPos); 参数 image:PImage 物件的名称 xPos:图片左上角位置的 x 轴座标,型态为 int yPos:图片左上角位置的 y 轴座标,型态为 int 回传 无回传值 范例 See also - loadImage() - PImage 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in […]


  • circle()

    circle()

    描述 在萤幕上画一个圆形。 语法 screen.circle(xPos, yPos, radius); 参数 xPos:圆心的位置的 x 座标,型态为 int yPos:圆心的位置的 y 座标,型态为 int radius:圆的半径,型态为 int 回传 int:萤幕的宽度 范例 See also - TFT - rect() - line() - point() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code […]


  • height()

    height()

    描述 取得萤幕的高度。 语法 screen.height(); 参数 无参数 回传 int:萤幕的宽度,单位为像 范例 See also - TFT - width( ) 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.


  • width()

    width()

    描述 取得萤幕的宽度。 语法 screen.width(); 参数 无参数 回传 int:萤幕的宽度,单位为像 范例 See also - TFT - height() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.


  • rect()

    rect()

    描述 在萤幕上画出长方形。 语法 screen.rect(xStart, yStart, width, height); 参数 xStart:长方形左上角的位置的 x 座标,型态为 int yStart:长方形左上角的位置的 y 座标,型态为 int width:长方形的宽度,型态为 int height:长方形的高度,型态为 int 回传 无回传值 范例 See also - TFT - circle() - line() - point() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike […]