stroke method
[This documentation is preliminary and is subject to change.]
Renders the strokes of the current subpath by using the current stroke styles.
![]() ![]() |
Syntax
HRESULT retVal = object.stroke();
Standards information
- HTML Canvas 2D Context, Section 9
Parameters
This method has no parameters.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Use the beginPath method after you call the stroke method to close the existing path and start a new one with different properties.
Build date: 1/23/2012
.png)
.png)