25.38. CanvasRenderingContext2D.strokeRect( ): draw a rectangle25.38.1. Synopsisvoid strokeRect(float x, float y, float width, float height) 25.38.1.1. Arguments
25.38.2. DescriptionThis method draws the outline (but does not fill the interior) of a rectangle with the specified position and size. Line color and line width are specified by the strokeStyle and lineWidth properties. The appearance of the rectangle corners are specified by the lineJoin property. Current implementations of strokeRect( ) clear the path as if beginPath( ) had been called. This surprising behavior may not be standardized and should not be relied upon. 25.38.3. See Also
|