This topic has not yet been rated - Rate this topic

strokeStyle property

Gets or sets the current style that is used for strokes of shapes.

HTML Canvas 2D Context, Section 5Internet Explorer 9

Syntax

object.put_strokeStyle( v);object.get_strokeStyle(* p);

Property values

Type: VARIANT

The CSS Color, CanvasGradient or CanvasPattern.

Exceptions

ExceptionCondition
SecurityError

The p attribute is set to aCanvasPattern object that was created from a img or video element that is not of the same origin or domain as the document that owns the canvas element.

Standards information

Remarks

The style can consist of a string that contains a CSS color, CanvasGradient object, or CanvasPattern object.

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.