FastLED 3.10.8
Loading...
Searching...
No Matches

◆ has()

template<typename RGB_T>
bool fl::gfx::CanvasMapped< RGB_T >::has ( int x,
int y ) const
inline

Definition at line 143 of file canvas.h.

143{ return x >= 0 && x < width && y >= 0 && y < height; }
XYMap-backed canvas for non-rectangular or remapped layouts.
Definition canvas.h:130

References fl::FL_NO_EXCEPT, height, fl::x, and fl::y.