Blog109.3K views3,684 votes0 replies4,388 following
Canvas rect() Draws Nothing Until You Call fill()
Canvas rect() defines a path but does not paint until fill(), stroke(), or clip(). Learn when to use it and how to debug invisible rectangles.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Canvas rect() defines a path but does not paint until fill(), stroke(), or clip(). Learn when to use it and how to debug invisible rectangles.