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

◆ has()

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

Definition at line 84 of file canvas.h.

84{ return x >= 0 && x < width && y >= 0 && y < height; }
Simple rectangular canvas for graphics operations Combines a pixel buffer with dimensions for cache-o...
Definition canvas.h:66

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