Promotic
WikipediaLinkedInYoutubeTwitterFacebook

strokeStyle - property of object CanvasCtx

Description:
Sets or returns the color or gradient of the line.
Syntax:
strokeStyle As String
Calling:
ctx.strokeStyle = "#ff0000";
Values:
color (default) - The color value according to CSS specification. Default value is #000000
#RRGGBB - Hexadecimal color ("#ff0000" - red)
rgb(R,G,B) - RGB color ("rgb(255,0,0)" - red)
rgba(R,G,B,A) - RGBA color ("rgba(255,0,0,0.5)" - red transparent) (the fourth parameter in range from 0 to 1)
HTML name color - "red" - named HTML color
gradient - A gradient object reference (linear or radial) used to create a color gradient.
Note:
Property access for read and write. This property is also functional for Web Panels.
See also:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice