25.32. CanvasRenderingContext2D.rect( ): add a rectangle subpath to the path25.32.1. Synopsisvoid rect(float x, float y, float width, float height) 25.32.1.1. Arguments
25.32.2. DescriptionThis method adds a rectangle to the path. This rectangle is in a subpath of its own and is not connected to any other subpaths in the path. When this method returns, the current position is (0,0). 25.32.3. See AlsoCanvasRenderingContext2D.fillRect( ), CanvasRenderingContext2D.strokeRect( ) |