(x, y, w, h)
| 239 | } |
| 240 | |
| 241 | setArea(x, y, w, h) { |
| 242 | const area = this._setArea; |
| 243 | |
| 244 | area[0] = (this._endian_type << 8) | (this._pix_bpp << 4) | this._rotation; |
| 245 | area[1] = x; |
| 246 | area[2] = y; |
| 247 | area[3] = w; |
| 248 | area[4] = h; |
| 249 | this.writeArgs(IT8951_TCON_LD_IMG_AREA, area); |
| 250 | } |
| 251 | writeArgs(command, buffer) { |
| 252 | this.writeCommand(command); |
| 253 |