pfodParser 3.55.0 The pfodParser library is handles commands sent from the Android pfodApp, pfodApp supports WiFi, BLE, Bluetooth and SMS connections

pfodRectangle.h
Go to the documentation of this file.
1 #ifndef pfodRectangle_h
2 #define pfodRectangle_h
3 /*
4 * (c)2014-2017 Forward Computing and Control Pty. Ltd.
5 * NSW Australia, www.forward.com.au
6 * This code is not warranted to be fit for any purpose. You may only use it at your own risk.
7 * This code may be freely used for both private and commercial use
8 * Provide this copyright is maintained.
9 */
10 #include <stdint.h>
11 #include <Arduino.h>
12 #include "pfodDwgsBase.h"
13
14 class pfodRectangle : public pfodDwgsBase {
15 public:
16 pfodRectangle();
17 pfodRectangle &size(float width, float height); // default 1x1
18 pfodRectangle &color(int _color); // default BLACK_WHITE
19 pfodRectangle &idx(uint16_t _idx); // default 0 i.e. not set
20 pfodRectangle &autoIdx(pfodAutoIdx &a_idx); // reserve new idx if 0
21 pfodRectangle &filled(); // default not filled
22 pfodRectangle &rounded(); // default not rounded
23 pfodRectangle &centered(); // default not not centered
24 pfodRectangle &offset(float _colOffset, float _rowOffset); // default 0,0
25 void init(Print *out, struct VALUES* _values);
26 void send(char _startChar = '|');
27 };
28 #endif // pfodRectangle_h
pfodAutoIdx
Definition: pfodAutoIdx.h:4
pfodDwgsBase
Definition: pfodDwgsBase.h:55
pfodDwgsBase::out
Print * out
Definition: pfodDwgsBase.h:58
pfodRectangle
Definition: pfodRectangle.h:14
pfodRectangle::send
void send(char _startChar='|')
pfodRectangle::autoIdx
pfodRectangle & autoIdx(pfodAutoIdx &a_idx)
pfodRectangle::filled
pfodRectangle & filled()
pfodRectangle::idx
pfodRectangle & idx(uint16_t _idx)
pfodRectangle::init
void init(Print *out, struct VALUES *_values)
pfodRectangle::size
pfodRectangle & size(float width, float height)
pfodRectangle::color
pfodRectangle & color(int _color)
pfodRectangle::centered
pfodRectangle & centered()
pfodRectangle::rounded
pfodRectangle & rounded()
pfodRectangle::pfodRectangle
pfodRectangle()
pfodRectangle::offset
pfodRectangle & offset(float _colOffset, float _rowOffset)
pfodDwgsBase.h
VALUES
Definition: pfodDwgsBase.h:15