EthercatDevice_QECRXXUN01.lcdDrawRoundRect()

[EthercatDevice_QECRXXUN01]

Description

Draw the rounded corners rectangle.

Class Modules

class EthercatDevice_QECR11UN01;
/* RJ45 power [1, 1]. */
class EthercatDevice_QECR00UN01;
/* RJ45 power [0, 0]. */

Format

int lcdDrawRoundRect(int16_t x, int16_t y, int16_t w, int16_t h, int16_t r, uint16_t color);

Syntax

EthercatDevice_QECR11UN01 slave;
slave.lcdDrawRoundRect(int16_t x, int16_t y, int16_t w, int16_t h, int16_t r, uint16_t color);

Parameters

  • int16_t x: x position.
  • int16_t y: y position.
  • int16_t w: width.
  • int16_t h: height.
  • int16_t r: radius.
  • uint16_t color: color.

Returns

Int: 0 for successful; if the return value is smaller than 0 means error.


Libraries Reference Home

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.

Leave a Comment

Scroll to Top