FastLED 3.9.15
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_NOEXCEPT, height, fl::x, and fl::y.