miterLimit - property of the CanvasCtx object
Description:
Maximum length of slant of two touching lines (in pixels).
Note:
Property access
for read and write.
This property is also functional in
Web panels.
Example:
The
ctx variable represents the drawing canvas (
CanvasCtx). The setup is done on the "
Draw" tab at the beginning of the script of drawing event
onDraw as follows:
var ctx =
pEvent.
GetCtx(1);
JavaScriptSelect and copy to clipboard
ctx.miterLimit = 10;