ShapePoint
touchgfx/widgets/canvas/AbstractShape.hpp
Defines an alias for a single point. Users of the AbstractShape can chose to store the coordinates as int or float depending on the needs. This will help setting up the abstractShape very easily using setAbstractShape().
Template Parameters:
- T Generic type parameter, either int or float.
See: setShape
Public Attributes
Public Attributes Documentation
x
T x
The x coordinate of the points.
y
T y
The y coordinate of the points.