sign in

 



Forgot your password?

signup

Why sign up?
- One account for five websites!
- Free access to Premium Codes
- Acess to cool web tools
- Ask and answer questions
- Stay ahead of other web developers
- and MUCH MORE!




You can also sign up by your facebook account!
Feel The Power

Html Codes: Canvas- Draw Rectangles, Fill and Clear them

Because the rectangles are so common shapes that are needed a lot in 2D graphics, HTML5 Canvas has special functions for it. So you can easily draw and fill a rectangle just by defining a point for its up-left corner and then specifying its width and height. It is also easy for clear part of the context in a rectangular shape. Use the following example to figure out how all of these things can be done about Rectangles by using HTML5 Canvas element and JavaScript.



If you don't know how to use this code or need more information Click here!



 

You can leave comments once you sign in/up.




f

Review

Please Rate this!
VISITORS
Online Users: 63
Total Online Users: 71
Recent Members: Eric Wan, JAYA, derickkk, HEX_Andersson, n_jafari8919
FIND US

LINK US

Link to us:

Please put this code in your page.