UiUiUi
A user interface library for micro controller sketches based on U8g2
Public Member Functions | Public Attributes | List of all members
UIPoint Class Referencefinal

Representation of a point on the display. More...

#include <UIPoint.h>

Public Member Functions

 UIPoint (uint16_t x, uint16_t y)
 Initialize the point from two values.
 
 UIPoint ()
 Initialize the point as "0,0".
 
void setFrom (UIPoint p)
 Set the point from another point.
 
void debugPrint (const char *label)
 Debug output of this point with some prepended label.
 

Public Attributes

uint16_t x
 X Coordinate of the point, normally 0 is top.
 
uint16_t y
 Y Coordinate of the point, normally 0 is left.
 

Detailed Description

Representation of a point on the display.


The documentation for this class was generated from the following files: