Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Renders the strokes of the current subpath by using the current stroke styles.
![]() ![]() |
Syntax
object.stroke();
Parameters
This method has no parameters.
Return value
This method does not return a value.
Standards information
- HTML Canvas 2D Context, Section 9
Remarks
Use the ICanvasRenderingContext2D::beginPath method after you call the ICanvasRenderingContext2D::stroke method to close the existing path and start a new one with different properties.
.png)
.png)