FastLED 3.10.10
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 231 of file canvas.h.

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

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