跳转到主要内容

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

Tx
The x coordinate of the points.
Ty
The y coordinate of the points.

Public Attributes Documentation

x

T x

The x coordinate of the points.

y

T y

The y coordinate of the points.