[EthercatDevice_QECRXXUN01]
描述
Fill the triangle.
模組類別
class EthercatDevice_QECR11UN01; /* RJ45 power [1, 1]. */ class EthercatDevice_QECR00UN01; /* RJ45 power [0, 0]. */
格式
int lcdFillTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color);
語法
EthercatDevice_QECR11UN01 slave;
slave.lcdFillTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color);
參數
int16_t x0
: the starting point of x position.int16_t y0
: the starting point of y position.int16_t x1
: the first point of x position.int16_t y1
: the first point of y position.int16_t x2
: the second point of x position.int16_t y2
: the second point of y position.uint16_t color
: color.
回傳
Int:0表示成功;如果返回值小於0表示錯誤。
函式庫參考主頁面
86Duino 參考的文本是根據 Creative Commons Attribution-ShareAlike 3.0 License,部分文本是從 the Arduino reference 修改的。 參考中的代碼示例已發佈到公共領域。