FastLED 3.9.15
Loading...
Searching...
No Matches

◆ __repr__()

str gen.Point.__repr__ ( self)

Definition at line 54 of file gen.py.

54 def __repr__(self) -> str:
55 x_rounded = round(self.x, 2)
56 y_rounded = round(self.y, 2)
57 return f"({x_rounded}, {y_rounded})"
58
59
#define round(x)
Definition util.h:10

References round, fl::pair_xy< T >.x, fl::pair_xy< float >.x, x, fl::pair_xy< T >.y, fl::pair_xy< float >.y, and y.