Promotic
WikipediaLinkedInYoutubeTwitterFacebook

strokeText - method of object CanvasCtx

Description:
Strokes the text outline. The default color is black.
Syntax:
strokeText(text As String, x As Long, y As Long, [maxWidth As Long]) As Object
Calling:
ctx.strokeText(text, x, y, maxWidth);
Parameters:
text(String) Rendered text
x(Long) The x-coordinate of the text starting point
y(Long) The y-coordinate of the text starting point
maxWidth[optional] (Long) Maximum allowed font size (in pixels).
Note:
The method can also be called in the graphic item events for Web Panels.
See also:
Example:
ctx.font = "30px Arial";
ctx.strokeStyle = "blue";
ctx.strokeText("Promotic", 50, 30);
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice